I saw this site , and it is done very well
Code: Select all
http://www.babycenter.comOr what CSS script can do that ?
Is there tools that can help to design sites like this ?
any advice ?
Thanks
Moderator: General Moderators
Code: Select all
http://www.babycenter.comCode: Select all
<style>
ul
{
-moz-border-radius: 5px;
background-color: #EBECE4;
border: 1px solid #838B8B;
list-style: none;
overflow: auto;
clear: both;
text-align: center;
padding: 0;
margin: 0;
}
ul li a
{
display: block;
float: left;
width: 30%;
color: blue;
border-right: 1px solid blue;
text-decoration: none;
padding: 0.5% 1.5%;
font-size: 1.2em;
}
ul li a:hover
{
background-color: #C1CDCD;
}
</style>
<ul>
<li><a href="#">link1</a></li>
<li><a href="#">link2</a></li>
<li><a href="#">link3</a></li>
</ul>