Jump to content

Recommended Posts

Posted

What im trying to get is:

 

 

body {

    background-image: url("images/witewall.png");

    background-repeat: repeat;

}

 

I want the background image to show and repeat over the whole page of the body element.

 

 

I havent been able to get it to show so far? Is there something i'm missing?

 

 

 

Posted

Once i added ../images/witewall.png i got the image to show up. I was thinking i didn't need the ../ for the file path since it was located in the images folder? So anytime you go up a level in paths do you have to include the ../ before the files path?

 

 

 

Thanks for the help.

Posted

a path of "images/image.jpg" is relative to the HTML page that you are viewing. So if you're viewing an HTML page and using that path, the web browser expects the images folder to be in the same folder as the HTML file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...