Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Table Heights in NN7 & Opera 7

6:48 pm on Sep 16, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 9, 2003
votes: 0

I thought I'd be a good little boy and make sure a new site is 'perfect' in all three main browsers, the trouble is I can't afford to lose much more hair.

I'm specifying a table height, thus -

<tr><td width="100%" height="1"></td></tr>

It's just a little table inbetween two main ones.

It aligns in Explorer. It doesn't in Opera or Netscape.

The absolute bizarre thing is that if I change the height to 10 or 100 it aligns in Opera and Netscape, but if you input a number below 10 it doesn't work! ****!

I thought, hang on, maybe it only works with 'whole' numbers (divisible by 10 for some strange reason) but I tried 76 and that works too.

Opera and Netscape seem to default at 10 and refuse to go any lower. Is this really the case?

What's a way out of it?

8:45 pm on Sept 16, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 17, 2001
votes: 0

Netscape 4 seems to ignore many or most settings applied to empty cells, and renders an empty cell as if it were filled with a line of text at the default size. There's nothing magic about 10 pixels, it may just be that your default text is about 10 pixels high on your display.


<tr><td width="100%" height="1" style="font-size: 1px">&nbsp;</td></tr>
edited for typo

2:47 pm on Sept 17, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 9, 2003
votes: 0

I don't want padding or a border on the left or right hand sides of the cell.

The above didn't work in NN7 or OP7, nor does;

<td width="100%" style="height:1px font-size:0;">

Thanks anyway but I'm really not that concerned to keep on trying.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members