I have a php/html website on my home server that has several embedded .jpg images in the style.css file I can view the website fine from the computer that is running the server but when I try to access it from another computer on my network I can't see the images I get a red x inside of a little box.
Any ideas?
Thanks,
#wrapper {
width:400px;
h开发者_如何转开发eight:600px;
background-color:#3CF;
margin:0 auto;
background-image:url(wrapper.jpg);
background-repeat:no-repeat;
}
#registerwrapper {
width:400px;
height:600px;
margin:0 auto;
background-image:url(register.jpg);
background-repeat:no-repeat;
}
try using an absolute path to the images. As it stands you're storing the images in the same location as you are storing your CSS
精彩评论