2
嗨,我有2个div浮动和IE6失败的高度(其未从CSS设置)。如果我有g,p,j这样的字母,它就会截断这些字母的结尾。IE6浮动和高度
下面是代码
<div class="left"> <!-- this div float left -->
<span style="color:#666;">Legend : </span> <!-- Here the letter g is cut -->
<a title="" class="button" href="#">Choice 1</a>
<span class="button" style="padding-right:12px;">
<b>Current Choice</b>
</span>
</div>
<div class="right"><!-- this div float right -->
<span style="color:#666;">Legend 2 : 1 Legend3 : 1-5</span> <!-- Here the letter g is cut -->
</div>
<div class="clear"></div>
如果我设置在左侧的高度,正确的div它工作正常,但我可以不知道内容的高度。
是否有任何其他解决方案,使其工作没有设置高度。
Thansk
您的方法正在工作。谢谢 – ntan 2010-02-09 13:25:22