好的,我有一個WordPress的網站,我添加了一個表,並使用css - 表免疫瀏覽器變焦
白色空間:無包裝;
因爲我想表頭留在同一行,該表有太多的頭和需要作出留在內容的「邊界」(即我沒意見)之外。
的問題是,當我在和不與瀏覽器放大,該表切換位置(移動律位向左或向右和dosnt保持居中)我與「餘量」 manualy居中。
林的CSS很新,希望我介紹的問題就好了。
.dataTables_wrapper .tablepress {
white-space: nowrap;
clear: both;
margin-left: -50px;
}
.entry table {
border: 1px solid #DFDFDF;
background-color: #F9F9F9;
width: 100%;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
font-family: Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;
color: #333;
border-collapse: separate;
border-spacing: 0;
}
.tablepress {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin-bottom: 1em;
border: 0;
}
請提供您的表的全HTML和CSS否則我們您的網頁上abouts這也可能有助於我只是猜測問題是什麼 – Pete