Reputation: 61
I Gave the path as
{
position:absolute;
Background-image:url("..img/checked.gif") ;
padding-left: 20px;
margin-left: .3em;
vertical-align: middle;
background-color: #FFEBE8;
border: solid 1px red;
width: 170px;
}
Am i wrong?? Why my image is not loading?? It is saying Failed to load in firebug!! Please help me , With this..
Any links which explains giving path always welcome.
Upvotes: 0
Views: 42
Reputation: 1447
in css is Background-image:url("..img/checked.gif");
but according to screen the path is ../images/checked.gif
.
Upvotes: 0
Reputation: 956
Your path should be "../images/checked.gif"
.
Fore more info, you can consult: http://css-tricks.com/quick-reminder-about-file-paths/
Upvotes: 1