為什么 margin-bottom:10px; 無效
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>邊框</title>
<style type="text/css">
li{
? ? display:inline;
? ? border-bottom:1px dotted #ccc;
? ? margin-bottom:50px;
}
</style>
</head>
<body>
<ul>
? ? <li>別讓不會(huì)說話害了你</li>
? ? <li>二十七八歲就應(yīng)該有的見識(shí)</li>
? ? <li>別讓不好意思害了你</li>
</ul>
</body>
</html>
2017-05-26
<!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; ??
}
div {
? ? width: 200px;
? ? border: 1px solid green;
? ? padding: 20px;
? ? margin-top: 100px;
}
</style>
</head>
<body>
<div>
<ul>
? ? <li>別讓不會(huì)說話害了你</li>
? ? <li>二十七八歲就應(yīng)該有的見識(shí)</li>
? ? <li>別讓不好意思害了你</li>
</ul>
</div>
</body>
</html>
2017-05-18
好好回頭看看內(nèi)聯(lián)元素的特點(diǎn)吧
2017-05-07
你是不是要實(shí)現(xiàn)這樣的效果?
2017-05-03
你全部代碼寫出來我看一下