2010-01-15, 03:12 PM
Well I designing a website template (Sort of, I dont think you can call it 'designing' xD) and I am trying to give something a background image using CSS.
Lets say I have this:
For some reason it doesnt want to use that background image I called in the CSS class
But, if I upload the image to Photobucket, and use that URL instead, it works fine
Any help?
Oh and if I use inline CSS like this:
It works
Lets say I have this:
<div id="box">Box content here</div>
And for the CSS I have this:#box {
background: #000000 url(images/boxbg.gif) top left repeat-x;
}
For some reason it doesnt want to use that background image I called in the CSS class
But, if I upload the image to Photobucket, and use that URL instead, it works fine
Any help?
Oh and if I use inline CSS like this:
<div id="box" style="background: #000000 url(images/boxbg.gif) top left repeat-x;">Box content here</div>
It works