Click to See Complete Forum and Search --> : text over image


exception
08-01-2006, 03:00 PM
hi,

i've got a problem whit my site. i have put some text over a image.
and in firefox it looks normal butt whit internet explorer you don't see the image so it's a white table.

the link is :

http://www.virtual-styling.net/jeffrey

use firefox and internet explorer to see what i mean.

gil davis
08-01-2006, 03:18 PM
IE does not support "background" for TR, but it does support 'style="background: url(...)"'. I don't have firefox, but using the "style" should work in all "modern" browsers.

exception
08-01-2006, 04:02 PM
can you make a example of that ?? i don't know what you mean ?

gil davis
08-01-2006, 05:40 PM
<tr style="background: url(images/index_21.jpg)">

FireFox may need quotes around the url, but IE probably won't care. I don't have ff, so I can't test it. ;)

pacerier
08-05-2006, 05:55 AM
i believe you will only need the quotes if there is a space in the path for the picture

the tree
08-05-2006, 07:46 AM
FireFox may need quotes around the url, but IE probably won't care. I don't have ff, so I can't test it.Quotes would be wrong and Firefox doesn't like wrong, so stick without the quotes.
Would it inconvinience you that much to download a couple of browsers?

Charles
08-05-2006, 07:53 AM
From the CSS2 Specification:
The format of a URI value is 'url(' followed by optional whitespace followed by an optional single quote (') or double quote (") character followed by the URI itself, followed by an optional single quote (') or double quote (") character followed by optional whitespace followed by ')'. The two quote characters must be the same.
http://www.w3.org/TR/REC-CSS2/syndata.html#uri ..

the tree
08-05-2006, 07:56 AM
Well that showed me, still, why change it.