我有以下代码。
<h1>Test</h1>
<p>Another test</p>
h1
{
border:2px solid red;
margin-bottom:30px;
}
p
{
border:2px solid red;
margin-top:20px;
}
这里有一个实时的代码编辑器 http://tinkerbin.com/dnhA713P
我想要在h1
和p
之间加上50像素的空白,但是它没有产生50像素的空白。