我的某个页面似乎存在不一致的问题。
在一些 IE 浏览器中,它在标题和主要内容之间显示几乎整个屏幕的空白区域,奇怪的是在我的电脑上使用 firefox 和 ie 页面显示正确但是在其他一些电脑上它显示空白区域。
http://kiwiradio.blakjak.net/wxradar.php
非常感谢您的帮助
最佳答案
好的,我下载并安装了 Microsoft Expression 3 Superpreview,这样我就可以同时看到在 IE6 和 IE8 中打开的页面,这使得找到罪魁祸首脚本变得容易。
原来是幻灯片脚本附带的 CSS 脚本导致了显示问题,它删除了所有内容,现在显示的是我希望在早期版本的 IE 中显示的内容。
感谢您的帮助。
<style type="text/css">
/* All Styles Optional */
* {
font-family:arial;
font-size:10pt;
}
div#show3 {
background-color:#efefef;
width:140px;
margin:0 auto;
border:1px solid #444444;
}
div#show3 table td, div#show4 table td {
height:24px;
background-image:url('38.gif');
}
div#show4 table td {
background-image:url('40.gif');
}
div#show3 table input, div#show4 table input {
outline-style:none;
}
</style>
<!--[if IE]>
<style type="text/css">
div#show3 table td, div#show4 table td {
height:21px;
}
</style>
<![endif]-->
关于php - 删除某些浏览器中页眉和主要内容之间页面顶部的空白,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3316353/