PDA

View Full Version : Table width in % for NS4


micko
07-04-2002, 02:33 PM
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<td width="18%" align="left" valign="top">
<%@include file="html-tree.jsp" %>
</td>
<td width="10" background="images/dots_vertical_with_spacer.gif">&nbsp;</td>
<td width="82%" align="left" valign="top"><%@include file="html-footer.jsp" %></td>
</table>

In IE and NS6 it works (a vertical dotted line in the middle)
But in NS4 I'm getting more vertical lines in the middle

Does anyone know what's wrong ? (when I change the percentages I'm having the same problem)

QuackHead
07-04-2002, 02:46 PM
umm .. if you'd tell us WHAT problem you're having - we might be able to help ;)

~Quack

micko
07-04-2002, 02:54 PM
In IE and NS6 it works (one vertical dotted line in the middle)
But in NS4 I'm getting more (4) vertical lines in the middle

Tonz
07-04-2002, 08:20 PM
HHHmmmmmmm

Not too sure, but the first change would be to set absolute widths,

<table width="760" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="140" align="left" valign="top">
<%@include file="html-tree.jsp" %>
</td>
<td width="10" background="images/dots_vertical_with_spacer.gif"> </td>
<td width="610" align="left" valign="top"><%@include file="html-footer.jsp" %></td>
</tr>
</table>


% is a real pain in NS, if you are out by 1% NS reformates the whole table, .......so the other starting point would be to set the table do that it equals 100% - you have 100% + 10

Tonz

glenngv
07-05-2002, 03:59 AM
is the vertical dotted line the td background image dots_vertical_with_spacer.gif?

<td width="10" background="images/dots_vertical_with_spacer.gif"> </td>

background image for td does not work with NS4.X