1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>test</title>
<style>
#navcontainer { background-color: #C36; width: 500px; }
#navcontainer ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
width: auto;
}
#navcontainer ul li {
overflow: auto;
width: auto;
}
#navcontainer a
{
display: block;
float: left;
padding: 3px;
width: 160px;
background-color: #C36; /*dfgsdfg*/
border-bottom: 0px solid #eee;
}
#navcontainer a:link, #navlist a:visited
{
color: #EEA;
text-decoration: none;
}
#navcontainer a:hover
{
background-color: #369;
color: #9ff;
}
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<li>
<a href="#">AAAAAAAAAA</a>
<a href="#">BBBBBBBBBB</a>
<a href="#">CCCCCCCCC</a>
</li>
<li>
<a href="#">AAAAAAAAAA</a>
<a href="#">BBBBBBBBBB</a>
<a href="#">CCCCCCCCC</a>
</li>
<li>
<a href="#">AAAAAAAAAA</a>
<a href="#">BBBBBBBBBB</a>
<a href="#">CCCCCCCCC</a>
</li>
</ul>
</div>
</body>
</html> |