Click to See Complete Forum and Search --> : Problem with table layout


Hsia Nu
08-04-2003, 11:53 PM
Hello im new here.

I have a problem with my table layout in dreamweaver MX.

I have notieced while i was developing my website that when i add an iframe in DMX and finish all my table layouts and i use the preview in iexplorer. when the site comes up it looks like all my tables are out of alignment, but in the program everything is all neat. I dont have much to my page just a couple rollover images and an iframe. very simple design.

i have dug through the code and i still cannot find out what is causing the problem.

i understand you guys ar emostly hardcoders, but i thought you guys were the best people to ask.

heres my site if yas wanna take a look.
Mythic Scripts (http://mythicscripts.cjb.net/)
or this if the top one doesnt work.
Mythic Scripts (http://mythicscript.freewebpage.org/index.asp)

When the page loads youll know right away which table is out of alignment its the blue bar going across the bottom.

Thanks if yall can help me.

PeOfEo
08-05-2003, 12:09 AM
It looks fine for me... you should consider using css for layout I have just gotten recently into it recently and believe me once you get beyond the ie bugs it is a lot neater and nice to use then tables, its a lot less code to take care of in each html doccument so it makes maintenance a little nicer. Now what exactly is out of alignment I dont see a blue bar at the bottum and it looks completly fine to me.
My stats:
windows XP pro
ie 6. somthing
resolution: 1024 x 786

Hsia Nu
08-05-2003, 12:28 AM
its the last table on my page, its just a table with a background color i set to dark blue.

its should be goin across the bottom, to me in IE it looks as if the table is about an inch away from the rest of the graphics.

you dont see it at all?

PeOfEo
08-05-2003, 12:29 AM
I have a pinkish colored line, no blue bar, but it all looks just fine.

Hsia Nu
08-05-2003, 12:41 AM
weird.

Hsia Nu
08-05-2003, 12:47 AM
Peof did you try both links i put in, cause the first one doesnt always work and it displays some internet hosting company.

PeOfEo
08-05-2003, 01:32 AM
Both take me to a web hosting site lol, I thought that was your site.

Hsia Nu
08-05-2003, 02:44 AM
no lol.

ok here try this


http://mythicscript.freewebpage.org/index.asp

copy and paste that.

PeOfEo
08-05-2003, 02:42 PM
there is a cell at the bottum of your page with this in it
<td height="23" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#333366"> try ditching that.

Hsia Nu
08-05-2003, 05:27 PM
ok Peoff, haha i dont if your still reading this thread.

But i narrowed it down to the iframe causing the problem.

when i input the iframe, all the tables get screwed up
if i take the iframe out everything goes back to normal.

this is weird.

is it weird to you?

i think im just gonna hafta redesig the layout.

PeOfEo
08-05-2003, 08:48 PM
I have had ie iframe bugs before but only when I used css, when you take it out of the table of cource it fixes it because you are creating extra space with that cell I also never say an end tag for it.

Hsia Nu
08-05-2003, 10:25 PM
Peof, i solved my problem

i had a bunch of these "nbsp" scattered through out the code, so i went through and deleted them all and now everything lines up very nicely.

thank you very much for your help, you helped me eliminate a lot of things.

PeOfEo
08-06-2003, 01:43 AM
Tables generally lead to messyer code from my limited experience I have in css so far I have found it to be a much more organized and much easyer to maintain.