![](/img/trans.png)
[英]The script code works fine in firefox and internet explorer but not in google chrome
[英]Page displays fine in Google Chrome and Internet Explorer but all the content is pushed off in Mozilla Firefox
我正在為我的客戶開發這個網站: http : //test.bebiafricanhairbraiding.com/osa/index.html
我遇到過一個我從未真正遇到過的問題,IE可以正常運行,還有谷歌瀏覽器; 但是,Mozilla Firefox將首頁上的所有內容推到最右邊 - 主頁面。
我無法真正提供任何代碼,因為我無法確定問題所在,但是,請隨意檢查源代碼並窺探一下。 我只是無法弄清楚為什么Mozilla現在有膽量把我的主頁扔出窗外...
謝謝,如果你能幫忙!
你的桌子正在浮出你的頁面,只需添加clear:both
可以正常放置。
<div id="cnbo">
<!-- InstanceBeginEditable name="Body" -->
<table style="width: 100%; clear: both;"> /* here */
....
@Andres llich是對的。 但我會把它放在CSS本身而不是表中的樣式。
#cnbo {
font-family: "Arial",Times,serif;
margin-top: 2px;
text-align: left;
width: 100%;
word-wrap: break-word;
clear: both;
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.