Jump to content
Sign in to follow this  
washingtonirvine

Background Image Troubles

Recommended Posts

Hi im building a page and i have all the text aligned and written out, but with my background images i have them all saved in my pictures in documents but they dont show up. i use the whole ".body{ background-image: url(c:user/tom/pictures/background.jpg); }" but then when i test the page it never shows up. none of my pictures to go under the text never show up. im unsure what im doing wrong to get my images on my site. iv read through the css lessons and found nothing that helps.im building my site through notepad and keeping it simple

Share this post


Link to post
Share on other sites

The .body selector will select any element that has class="body" as an attribute, you probably don't have any on your site (<div class="body">, <h1 class="body">, <body class="body">)Check how to style elements here: http://w3schools.com/css/css_syntax.aspTry using just body as a selector instead.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...