這裏有thast我發瘋在Chrome中浮動Div錯誤?
一個問題,如果你在 Chrome,但不能在Firefox看起來有..形式被按下。
我想清楚兩者溢出隱藏..
下面是代碼的
<div style="margin: auto; width: 900px; padding:15px; overflow:hidden;">
<div style="position:relative;float:right;margin-top:10px; right:5%;padding-right:20px;">
<center>
RIGHT SIDE
</center>
<div class="testimonials">BLA BLA</div>
</div>
<form novalidate action="" id="mainform" method="post">
<input type="hidden" value="<?=$affId;?>" name="affilate" >
<input type="hidden" value="<?=$PurchaseType;?>" name="PurchaseType" id="PurchaseType">
<table style="width:820px;">
<colgroup>
<col style="width:128px;">
<col style="width:337px;">
<col style="width:20px;">
<col style="width:255px">
</colgroup>
</table>
</form>
<br class="clear" />
</div>
任何幫助表示讚賞
感謝外殼!
您的代碼外殼根本不像您的問題,特別是因爲您有一堆
hm,html驗證?在某些情況下,一個失蹤的結束div左右 – chris
根據我的經驗,在某些情況下,chrome會計算更多1px。嘗試改變寬度減少1 px,看看它是否有幫助。我的意思是下降的部分是1px。 – 2014-01-10 21:56:17