background image using CSS

liunx

Guest
I am trying to apply a background image to the table my navigation bar is in. I formerly had something like:

<table background="url of image">

This worked fine however, I am trying not to use the attribute "background" as it does not validate. Therefore I tried some CSS (unsuccessfully) like:

<table style="background-image: url(...)">

This however did not work. I was thinking maybe i need to add quotations aorund the url in the parentheses like:

<table style="background-image: url("...")">
or...
<table style="background-image: url('...')">

No idea if this line of thought is on the right track but either way all help is appreciated.

Thanks in advance,
DaveNo idea how, but the CSS I originally tried works fine now. I probablly made a stupid typo or something. Thanks anyways.

-DaveOriginally posted by ToYourEscape
...I probablly made a stupid typo or something....-Dave
As opposed to the "smart typos" I make. ;)<table style="background-image: url('...')">
that is the correct line. What did I win? :D
 
Back
Top