Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doesn't work in Netscape

Status
Not open for further replies.

jackyl

Programmer
Oct 23, 2001
44
CA
I'm making a page that is to stretch vertically for the whole page ... it works fine in IE, but in NN the spacing gets all blown out. Any ideas?

<body LEFTmargin=&quot;0&quot; RIGHTmargin=&quot;0&quot; TOPmargin=&quot;0&quot; BOTTOMmargin=&quot;0&quot; marginHEIGHT=&quot;0&quot; marginWIDTH=&quot;0&quot; bgcolor=&quot;white&quot;>
<table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; height=&quot;100%&quot;>
<tr valign=&quot;top&quot; height=&quot;314&quot;>
</tr>
<tr valign=&quot;top&quot;>
<td valign=&quot;top&quot; bgcolor=&quot;000066&quot; width=&quot;201&quot;>
</td>
<td valign=&quot;top&quot; bgcolor=&quot;000066&quot; width=&quot;599&quot;>
</td>
</tr>
<tr height=&quot;28&quot;>
<td bgcolor=&quot;000066&quot; colspan=&quot;2&quot; height=&quot;28&quot; align=&quot;center&quot; valign=&quot;middle&quot;></td>
</tr>
</table>
</body>


The center row is where it is to stretch ...
 
Well, that works fine in NS 6. If that doesn't work for NS 4, try putting the sum of the other widths( width=&quot;800&quot; )in the td.

Rick If I have helped you just click the first link below to let me know :)
 
Always avoid spaces between cell content and closing </td> tag!
This:
<td valign=&quot;top&quot; bgcolor=&quot;000066&quot; width=&quot;201&quot;>
</td>

should be changed to this:

<td valign=&quot;top&quot; bgcolor=&quot;000066&quot; width=&quot;201&quot;></td>

Also, never leave cell without any content in it. Add &-n-b-s-p; (without &quot;-&quot;) to all empty cells.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top