Discussion Locked

Stupid table question

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

The page in question is http://www.netbuie.net/photos2_new.html

There is a nested table to the left, a nested table to the right of that that lines up at the top with other table, and then all text goes into the table cell below on the right. Thetop of the text should align with the top of the cell (VALIGN="top").

My question is: why does the formatting look spot on in NN 4.7 and 6.2, but IE 5 pushes the text way down to the bottom.

Any easy answers to this one? It's not a very complex set of tables, and I'm sure there's a better way to achieve the same effect, but I can't for the life of me figure out why these tables are misbehaving.

Thanks in advance for any help!

john

3 replies

by kanto boy

Well the easy answer is to move away from nested tables and learn how to leverage css for positioning html elements. Better yet, forget tables and move into pure css. Believe me 95% of your layouting problems will be solved.

The complex answer would be to give you an HTML table hack, that will break sooner or later.

by shelleydoll

You've got an unnecessary "rowspan=5" in the nested table. It's in the cell with text that starts, "Click on the links above to see the photots". Just remove it and it'll look fine in both browsers.

When I've got table issues, I just turn on the borders so I can see where the problem is.

by cparrish

I'm going to second the move to CSP response. Now that Mozilla 1.0, Netscape 7.0 and IE 5.0 / 6.0 all support it on most sites that makes up more than 90% of the browsers coming to your site. Learn to do layout the right way and once you get over the learning curve layout will become *much* easier.

This discussion is closed to new replies.