Can't get background gif to show

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
defroster
Forum Commoner
Posts: 49
Joined: Wed Mar 24, 2010 12:05 pm

Can't get background gif to show

Post 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;
}

User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Can't get background gif to show

Post by califdon »

Try removing "background" and "background-color", they may be overriding "background-image".
defroster
Forum Commoner
Posts: 49
Joined: Wed Mar 24, 2010 12:05 pm

Re: Can't get background gif to show

Post by defroster »

Thanks a lot! Problem solved.
Post Reply