I sliced up my photoshop document and everything is good with that...but, currently my css isn't displaying my background...I have a background image that I want to repeat x and y....
Here's the Code I have
.container {
width: 800px;
margin: 0 auto;
}
body, div, h1, h2, h3, h4, h5, h6, p, ul, img {
margin:0px;
padding:0px;
}
url (images/background.jpg)
#main {
background: url(images/background.jpg) repeat-x;
}
Now... why isn't it doing it? I mean...everything is fine on the html side :|
<link href="style.css" rel="stylesheet" type="text/css" media="screen" /> <body> <div id="main"> <div class="container"> <!-- content goes here --> <div id="header"> <div id="logo"> <h1>Logo</h1> </div> <div id="tagline"> <h3>And a little tagline, too.</h3> </div> </div> <!-- END HEADER --> <div id="content"> <img src="image/contentbox.jpg" alt="MISSING"> </div><!-- END CONTENT --> <div id="navbar"> </div><!-- End Navbar --> <ul id="menu"> <li><a href="">Home</a></li> <li><a href="">blurgh</a></li> <li><a href="">blurghhhhh</a></li> <li><a href="">heyyy</a></li> </ul> </div><!-- END CONTAINER --> </div><!-- END MAIN --> <div id="footer"> <div class="container"> </div><!-- END FOOTER CONTAINER --> </div><!-- END FOOTER --> </body>
Just not really understanding...

New Topic/Question
Reply


MultiQuote



|