网页在ie7,ie8上运行速度都比较快,到ie6上运行却死机。
一般什么原因或css bug会导致?
发你的css上来看下
9494让我们一睹让ie6 down掉的css
代码如下:
html
{
border: 0;
margin: 0;
padding: 0;
height:100%;
}
body
{
border: 0;
margin: 0;
padding: 0;
font-family: 宋体;
font-size: 9pt;height:100%;
}
TABLE
{
line-height: 18px;
}
div
{
line-height: 18px;
}
html form
{
height: 100%;
}
#rheader
{
background: transparent;
height: 76px;
width: 100%;
}
/*页面头及左侧样式*/
.mainTop
{
height: 50px;
background: url(images/top_bg.png) repeat-x;
}
.logo
{
width: 50%;
height: 50px;
float: left;
background: url(images/logo.png) no-repeat;
}
.mainTopMenu
{
width:100%;
height: 26px;
background-image: url(images/menu_bg.png);
}
.timer
{
font-size: 10pt;
color: #2E618B;
padding-top: 5px;
padding-right: 5px;
}
/*可变大小区域样式*/
.contents
{
width: 100%;
height: auto;
background: #DFE8F6;
}
相关问答:
我有空没有事做研究一下CSS+DIV,现做一条导航条,遇到一个问题,它大家帮忙解决一下:
以下代码可以实现居中,但有一个问题就是,如果我加多一个栏目比如加多一个HTML code:
<li><a href="" ......
css制作的弹出菜单,鼠标移出后菜单消失,我现在想让鼠标移出后菜单保留。就像伊利公司(www.yili.com)一样。
是不是要改菜单弹出的js或css代码。代码如下:就是不知如何改?
function menuFix()
{var sfEls = doc ......
CSS code:
body {
}
#x
{
width:1024px;
height:768%;
background-color:Red;
position:relative;
}
#x.top
{ position:absolute;
width:800px;
height:100px;
top:0px ......
我编写了一段HTML代码和CSS代码,但是出来的效果与我想要编写的效果完全相反:
demo.html
<html>
<head>
<meta http-equiv="content-type" content="text/htm ......