<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type=text/css>
#div1 {
width: 451px;
}
#div1 ul {
width: 451px;
margin: 0px;
}
#div1 li {
float: left;
width: 149px;
height: 50px;
list-style-type: none;
border-left:#000 1px solid;
border-bottom: #000 1px solid;
text-align: center;
line-height: 50px;
}
</style>
</head>
<body>
<div id="div1">
<ul>
<li style="width:449px;height:30px;line-height:30px;float:left;border-top:#000 1px solid;border-right:#000 1px solid;">1</li>
<li>2</li>
<li>3</li>
<li style="border-right:#000 1px solid;">4</li>
<li>5</li>
<li>6</li>
<li style="border-right:#000 1px solid;">7</li>
<li>8</li>
<li>9</li>
<li style="border-right:#000 1px solid;">10</li>
</ul>
</div>
</body>
</html>
posted on 2011-09-19 11:24
墙头草 阅读(1374)
评论(0) 编辑 收藏