如何实现同时设置上下边框,使它们不相互重叠?


以上是我的代码,是实现了上下边框,但有重叠


以上是我的代码,是实现了上下边框,但有重叠
2015-09-14
你看下这是不是你想要的代码
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>边框</title>
<style type="text/css">
li{
border-bottom:1px dotted #ccc;
border-top:1px dotted #ccc;
margin-bottom:10px;
}
</style>
</head>
<body>
<ul>
<li>别让不会说话害了你</li>
<li>二十七八岁就应该有的见识</li>
<li>别让不好意思害了你</li>
</ul>
</body>
</html>举报