Bit o' HTML

Charlie Wells
Posts: 389
Joined: Tue 02 Nov, 2004 16.23
Location: Cambridgeshire

This in theory should work...

Code: Select all

table {
background-image: url(stars.gif);
background-repeat: repeat-x
}
"If ass holes could fly then this place would be an airport."
User avatar
Nick Harvey
God
Posts: 4162
Joined: Fri 15 Aug, 2003 22.26
Location: Deepest Wiltshire
Contact:

Charlie Wells wrote:This in theory should work.
But, in practice, of course, it doesn't.

I tried exactly that code when Mr Gribling first asked the question.

It works, after a fashion, spreading the image over multiple cells, in Internet Exploder (both 6 and 7), which I have to accept will account for about 70% of your hits.

However, it fails miserably in all the Netscape-based browsers, including Firefox, which is rapidly becoming the second most popular in terms of hits.

I've tried six or seven different bits of code here and can't come up with anything which is reliable in all browsers, I'm afraid.
User avatar
nidave
Posts: 697
Joined: Wed 19 May, 2004 14.39
Location: Manchester

the easiest way to do it if your using a table is to have a nested table with your actual devisions inside the table with the background. if that makes sence.
Please Respond