washingtonirvine Posted February 18, 2010 Share Posted February 18, 2010 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 Link to comment Share on other sites More sharing options...
Ingolme Posted February 18, 2010 Share Posted February 18, 2010 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.