我遇到了Firefox瀏覽器的問題。你可以看到它here。 unssified版本的css(使用LESS):here。CSS定位 - Firefox
所有瀏覽器都顯示得很好,但Firefox將粉紅色通道中的表單移動到頁面頂部。你知道這個問題可能是什麼嗎?
謝謝!
我遇到了Firefox瀏覽器的問題。你可以看到它here。 unssified版本的css(使用LESS):here。CSS定位 - Firefox
所有瀏覽器都顯示得很好,但Firefox將粉紅色通道中的表單移動到頁面頂部。你知道這個問題可能是什麼嗎?
謝謝!
添加
clear:both
上#formPruh 可以解決這個請檢查其做工精細在所有瀏覽器
上應用Clear:both
後#formPruh
請更改margin-top:250px to 55px; in #kategories
閱讀快速螢火解決方案拍攝
試試這個在你的CSS
#formPruh {
width: 100%;
height: 120px;
form label {
font-weight: bold;
color: white;
}
form table {
position: relative;
margin-left: 60px;
top: 210px; /* changed----------- top: 15px;*/
tr {
height: 40px;
border: 1px solid red;
td.popis {
text-align: right;
padding-left:5px; /* changed----------- padding-left: 30px;*/
}
td.input input, td.input select {
width: 150px;
height: 25px;
padding: 0;
margin: 0;
border: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
font-family: Verdana, Arial, sans-serif;
font-size: 105%;
}
}
}
}
你必須明確您浮動 DIV(標誌,動作,用戶)。像這樣寫:
#formPruh {
clear: both;
height: 120px;
width: 100%;
}
@Pankaj檢查我anwser – sandeep 2012-03-17 12:09:43
應用很少會怎麼把另一個DIV下去怎麼把OP應用的margin-top:250px的,所以我在我的兩個答案方案中提到他的DIV之一.. – Jack 2012-03-17 12:15:00
以及如何來發布這樣的事情太快:(亞汗主要問題smjhta胡瓦漢tumhara回答帖子豪jata海:( – Jack 2012-03-17 12:15:27