Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Style last div


sanji41 - 2:44 am on Oct 4, 2010 (gmt 0)


considering it's auto generated I will use li, its easier to manage and I use it to display data from the database..here is the code:

<style type="text/css">
body{
margin:0;
padding:0;
}
#wrapper{
width:960px;
margin:0 auto 0 auto;
padding:0px;
}
#header{
height:100px;
padding:5px;
}
#header .banner{
float:left;
}
#container{
padding:5px;
margin:0 auto 0 auto;
width:800px;
}

#container li{
list-style-type:none;float:left;margin:15px;
width:150px;
height:100px;
border:5px solid #ccc;
}


#footer{
margin:0;
}
#footer .foot{
text-align:center;
}

</style>
<body>
<div id="wrapper"><!--wrapper-->

<div id="header"><!--start of header-->
header
</div><!--end of header-->
<div id="container"><!--start of container-->

<ul>
<li>one</li>
<li>two</li>
<li>three</li>
<li>four</li>
<li>five</li>
<li>six</li>
<li>seven</li>
<li>eight</li>

</ul>





</div><!--end of container-->



</div><!--end of wrapper-->
</body>
</html>

give me a heads up if somethings wrong, and hope this helps :D


Thread source:: http://www.webmasterworld.com/css/4172531.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com