<!-- 把下列代码加入到head区内 -->
<style type="text/css">
#coolmenu{
border: 1px solid black;
border-bottom-width: 0;
width: 170px;
background-color: #E6E6E6;
}
* html #coolmenu{
width: 164px;
}
#coolmenu a{
font: bold 13px Verdana;
padding: 2px;
padding-left: 4px;
display: block;
width: 100%;
color: black;
text-decoration: none;
border-bottom: 1px solid black;
}
html>body #coolmenu a{
width: auto;
}
#coolmenu a:hover{
background-color: black;
color: white;
}
</style>
<!-- 把下列代码加入到body区内 -->
<div id="coolmenu">
<a href="http://www.knowsky.com/developer.asp">网络编程</a>
<a href="http://www.knowsky.com/zhanzhang.asp">站长之家</a>
<a href="http://www.knowsky.com/web.asp">网页制作</a>
<a href="http://www.knowsky.com/photo.asp">图形图象</a>
<a href="http://www.knowsky.com/system.asp">操作系统</a>
</div>