Forum Moderators: open

Message Too Old, No Replies

Table background images

That pesky NN4 tiling problem ...

         

storevalley

5:14 pm on Sep 1, 2003 (gmt 0)

10+ Year Member



Hi Guys ...

Know that really annoying problem with Netscape 4 where a background image tiles if you have more than one cell in the table?

Anybody got an elegant way of dealing with this? My current thinking is that I'll just kill the backgrounds in NN4 using js.

MonkeeSage

5:20 pm on Sep 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not certain, but I believe that NN4 supports the background-repeat CSS attribute. Try throwing a rule on the table cells, something like...

td {
background-repeat: no-repeat;
}

I don't have NN4 though, so haven't tested.

Jordan

tedster

5:31 pm on Sep 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you talking about the fact that a table background image keeps re-starting with each new cell? If you have nested tables, the parent table cell can hold the background image and the child table can use an attribute of background="null" to stop the tiling re-start problem.

storevalley

11:31 pm on Sep 1, 2003 (gmt 0)

10+ Year Member



Thanks for the input guys ... couldn't get Jordan's suggestion to work, but Tedster's was nice and easy

Just used ...

<td background="image.jpg">
<table background="null">
(multi-cell content)
</table>
</td>

This worked a treat :)

MonkeeSage

11:38 pm on Sep 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I wasn't understanding the problem correctly, sorry to put you out for something that wan't even addressing the problem. Tedster is the man with the plan, runnin the program. I always learn something new from him, SuzyUK, Nick and claus...I'm going to start a fan club. Hehe ;)

Jordan

storevalley

12:31 am on Sep 2, 2003 (gmt 0)

10+ Year Member



sorry to put you out for something that wan't even addressing the problem

No worries Jordan. Even if input is a little off beam, it will sometimes kick start the old grey matter ;)