When I upload this CSS code, HTML code to the hosting server, the slogan.png image does not show up...
CSS code:
HTML code:Code:body { margin: 0; height: 100%; } .main { width: 950px; margin: 40px auto 0; /* padding: 0 0 50px; */ background-color: #DDD; } .logo { width: 800px; margin: 40px auto 0; position: relative; } .pages { width: 510px; padding: 0 0 0 100px; background-color: #BBB; background-image: url(img/slogan.png) no-repeat 75px 50%; }
Slogan.pngCode:<body> <div class="main"> <p>Class=Main</p> <div class="logo"> <img src="img/logo.png"/> </div> </div> </body>
500X427px
logo.png
800X110px


Reply With Quote



I guess I think in terms of a URI being a uniform locator that is unique to that resource, so I think of it as absolute in that sense—that it points to one place/ one unique location from any point.


Bookmarks