homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Table Row Heights, NS6
Improper row height in Netscape 6

10+ Year Member

Msg#: 1017 posted 3:46 pm on Sep 6, 2001 (gmt 0)

Hello All,

I'm having a problem with tables rendering properly in Netscape 6. No matter where I specify the height of a cell or row, whether in the <tr>, or <td> tag or both, as a style or an attribute or all at once it doesen't render the height correctly. In so far in IE 4-6 it's worked fine.

I have a title row with a fixed height of 145px. The rests fills the remaining space. What NS has been doing is adjusting the height of the rows to an equal amount when there's not a lot of content. As the content increases the title row shrinks in height til it eventually get to my specified height and stops there. It seems to be taking the height value and only applying it as a minimum height value.

The page can be seen here. [jaytek.dtdns.net ]



WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 1017 posted 5:14 pm on Sep 6, 2001 (gmt 0)

Welcome to Webmaster World forums, Rodney.

I notice you're using max-height. According the to the W3C specs for max-height [w3.org], it applies to "all elements except non-replaced inline elements and table elements." In other words, it's not supposed to create a max-height for TD.

I haven't had a chance to look closely at your code to see why Netscape wants to expand that cell when there is little content below it, but there must be a reason. I'll look closer when I get a chance. However, max-height DOES apply to divs and P elements and so on, so perhaps you can get the functionality you want through by-passing layout tables altogether.


WebmasterWorld Senior Member 10+ Year Member

Msg#: 1017 posted 5:45 pm on Sep 6, 2001 (gmt 0)


When all else fails, try an invisible image to fix the height. I've run into this problem with N6 and found that cell padding also influences height. And here's a real quirk in N6. If you use a DOCTYPE declaration, don't use
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Only use <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

I don't know why, but when I had the full tag, N6 REALLY distorted my page. Strange but true. :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved