Marc Gonzalez
Marc Gonzalez

Reputation: 11

won't display CSS Background-Image

as i write where the image is located at it won't find it in the directory. No matter what i do i tried quotations, no-quotations,switching the directory, still no help only when i put my image outside of a folder, is when i am able to see the image. Here is my example of my code:

#Story {
background-image: url('Images/Story.png');
background-repeat:no-repeat;
height:45px;
width:75px;
text-align:center;
text-decoration:none;
color:#ededed;
float:left;
padding:13px;
font-family:"Helvetica";
font-size:18px;

}

Upvotes: 1

Views: 320

Answers (1)

tobspr
tobspr

Reputation: 8376

The path is relative to the css file .. this might be your issue ..

Upvotes: 2

Related Questions