1

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;

}

1
  • 1
    how does your directory look? where is your css? is it externally? Commented May 4, 2013 at 20:11

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

1 Comment

Thank You i found the issue and it was exactly that

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.