Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
in NS4, how can i have a tiling background img in a 1px height table without any text? that drives me crazy! the img is a 10px long and 1px high.
if i put in TD, the img will be too high. height attribute seems not work. need a compatible way for both IE and NS.
<TD COLSPAN=4 width=100% height=1px bgcolor="#ffcc00" background="images/styles/yellow_line.gif">
Glad to hear you solved the buglet. I was just about to try a few things out ;)
Was the answer simple?
My guess was height='1' and a 1x1 tansparent gif in the cell, and bgcolor with no background gif.
I never used the 1x1 gif as a "background" image for the <td> tag though... I always set it up as:
<TD height="1" bgcolor="#000000"><img src="http//url.to/clear-pixel.gif" width="1" height="1"></td>
Maybe that's the catch for NN 4?
Glad it worked! I haven't used a 1px gif in a while, so I wasn't sure if I remembered correctly... :)