...

View Full Version : Why my css background image wont show?



shakoor6
03-25-2012, 02:48 PM
For some reason my background image does not show, i cant figure out why? any help is appreciated.

CSS CODE

body
{
background-image:url('./Images/Homepage/background.jpg');
}

#wrapper {

width:1020px;
margin:auto;

}

Sammy12
03-25-2012, 08:20 PM
Hey there shakoor6,

try:


background-image:url('.../Images/Homepage/background.jpg');


If that doesn't work, try posting the full html/css or better yet, a sure fix is by posting your website link. Also tell us about file locations, where is the .html/.php file where the background isn't showing up?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum