【发布时间】:2014-05-23 16:37:49
【问题描述】:
请查看Fiddle Here...
我试图在这里分离一些元素,但我遇到了困难。我所有的 div 标签都显示正确分离,但我没有得到分离。
例如,我有一个按钮,然后是清除按钮,然后是段落。
但是,在清除之后,该段落实际上显示在按钮内。
<div id="container">
<div id="header">Transfer of Credit Estimator</div>
<div id="content">
<div id="classes">Enter total number of classes estimated for transfer, then click <strong>Estimate</strong>.
</div>
<input type="text" class="" placeholder="#">
<div id="btn">Estimate<div> <!-- Button -->
</div>
<div class="clear"></div>
<p>Hi</p>
<div id="footer">**The Estimator is based on classes that would transfer in as 4-credit courses that cost $1,608 each ($402/credit hour) here at University. The Estimator assumes that each class would be a 5-week class.</div> <!-- Footer -->
</div> <!-- Close Container -->
</div>
最重要的是,页脚采用 '.btn' 类的属性,例如字体系列和字体粗细。
想我在这里做错了什么?
【问题讨论】: