Forum Moderators: open
:)
Well Netscape 4 is not exactly bad, but is not exactly good as well...
But about your code... try this...
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1"> </td>
<td width="99%">test</td>
<td width="1"> </td>
</tr>
</table>
I think this will work...
Hope it helps
Bye
What do you suggest for 1 pixel wide of vertical blackness I need on either side of a bgcolored cell?
Also - is spacer.gif a 1x1 pixel image? If so, you might want to include the dimensions in your markup (the original markup you posted).
The set of markup with the entities will cause the 1st and 3rd columns to be as wide as a space in whatever font is being used.
I can't recall for certain, but it seems like NN4 didn't support percentages in width/height attributes for table components. (maybe it was just IMG tags).
NN4 has many arbitrary limits -- minimums and maximums for various elements -- written into their internal rendering engine. I've stumbled over parallels in lots of situations throughout the years.
The problem is almost for certain how netscape is handling the sizing of the center cell, that's the only place the issue could be coming in.
You can see this if instead of width=100% for the table you change it to width=752, then make the left and right cells 1px wide, and the content cell 750px, this should display fine, I just took a look at my sites in ns4 and they display fine, 1px borders as intended.
I went and tested this, what is happening is that you can't mix percent and pixel measurements in the table sizing, ns4 is translating the width=1 to width=1%, you can see this quite easily by changing it to 2%, that doubles the border sizing.
If you declare an absolute size on the table, it will display fine, 1px borders, no problem. Your other choice is to simply use a 1px border on the table itself, <table border=1 bordercolor=black cellspacing=0 and so on, ns4 supports that fine.
<td>test test test test test test test test test test test</td>
Weird.
How can I get a border="1" border to look like a simple 1 pixel wide black line? The line always comes out looking kind of 3D for me.