Page 1 of 1

Can't get background gif to show

Posted: Sat Apr 02, 2011 7:24 am
by defroster
For some reason I cannot get the background image to show?
If someone could please tell me what I am doing wrong.

The bg.gif is located at http://localhost/images/bg.gif
The CSS file is located at http://localhost/incl/master.css

Code: Select all

body
{
background-repeat: repeat-x;
background-image: url("/images/bg.gif");
margin-left: auto;
margin-bottom: 0;
margin-right: auto;
color: #373737;
font-family: Arial, Verdana, "Lucida Grande", sans-serif;
background:#f3f3f3;
width:90%;
padding:0 0 0px;
background-color:#FFFFFF;
}


Re: Can't get background gif to show

Posted: Sat Apr 02, 2011 11:43 am
by califdon
Try removing "background" and "background-color", they may be overriding "background-image".

Re: Can't get background gif to show

Posted: Sat Apr 02, 2011 8:09 pm
by defroster
Thanks a lot! Problem solved.