my background image in css doesnt work when i put it online :S i tried all kind of codes offline it only works with this body { font: normal .80em arial, sans-serif; color: #AAA; background-attachment: fixed; background-color: #222; background-image: url(file://///ZABOER-PC/Users/zaboer/Documents/zaboer/Images/sitebackground.png); background-repeat: no-repeat; background-position: center top; } Code (markup): online help!
I believe that the following line in your code is incorrect background-image: url(file://///ZABOER-PC/Users/zaboer/Documents/zaboer/Images/sitebackground.png); Code (markup): You need to put your relative server path in the that line. Right now it is looking for the image in a location that does not exist on your server.
problem fixed i just put my picture in the css folder than just wrote url(sitebackground.png) and it worked lol it didnt work when i did images/sitebackground.png dont need help anymore
That does work however if you are going to having a bunch of images I would suggest having an images folder. If your files are stored in the images folder and your css is in a folder called css then the code would be: background-image: url(../images/sitebackground.png); Code (markup):
ye i did that but it didnt work so i put that background image in css folder and changed the code then it worked
hmm that should work, but it will depend on your exact folder structure. you might need to add another ../ depending where the folders are.