的开始之间的间隔我有一个段落标记中的文本,适合在一个div上,您将在此图片中看到的底部舒适:http://i44.tinypic.com/e05s0z.png需要有DIV的结束和段落
我可以把一些填充在div底部来解决这个问题,但可能会有多个div,具体取决于该页面上有多少项目。
我需要做的是在最后一个div(class =“article”)的末尾和段落标记中的文本之间放置一些间距。
下面是文章类
.article {
padding:10px;
overflow:auto;
}
文本瓦特/我段落标记
<p>Herkimer County Community College does not
discriminate on the basis of race, color, sex,
national origin, age, handicap, or marital status
in admission, employment, or in any aspect regarding
the conduct of College business.</p>
我应该怎么做的CSS?
该死的,打我吧! – 2009-06-30 13:28:24
段落标记在div之外,这是唯一的方法吗?否则,我将不得不对每个具有此div的页面以及下面的段落执行此操作。必须有一个方法,以适当的间距之后瓦特/段落标记不必破解? – Brad 2009-06-30 13:32:13
你给最后一段ID - 在页面中只使用一次。你不应该有任何麻烦影响其他段落 - 或者我误解了你? – Raithlin 2009-06-30 13:37:23