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