background image in an external css file

Currently reading:
background image in an external css file

Joined
Aug 3, 2006
Messages
1,784
Points
313
Location
Co. Cork
Can somebody help, new to it and can't find what the problem is. I want an image to appear across the top of the screen as a banner.

#body{
background-image:
url('binary_background.jpg');
background-repeat: repeat-x
}

I have this in an external css, but it's displaying nothing.
 
i'm not aware you can from a CSS file, but i've never tried....

just lay it in a table cell....

EDIT: just googled it, yeah you can and your syntax looks correct except the first '#' sign, try removing it
 
Last edited:
Back
Top