网页在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能看懂,但一些属性还是不能够完全理解。
自己只会写些常用的CSS。还没达到创造和创新的地步。
所以想问下各位前辈,应该看那本书较好呢?
建议不买书网上找教程自学,这个东西不是很难,多练习就会了
......
初学CSS 遇到一个问题 不知道怎么实现 高手帮帮忙
我定义了一个边框 想让边框的左右两边发光 用滤镜filter:glow()应该可以实现可是不知道怎么写
如果不能实现什么方法能实现呢?
我写的
......
setSampleList : function(dataList){
var newslist = document.getElementById("newslist");
var basePath = document.getElementById("basePath").value ......
CSS code:
body {
}
#x
{
width:1024px;
height:768%;
background-color:Red;
position:relative;
}
#x.top
{ position:absolute;
width:800px;
height:100px;
top:0px ......
请问一下 用一个DIV 可以做到这样的效果吗 ?
不知这个算不算一个DIV?
HTML code:
<style type="text/css">
.demo {
border: 1px solid #8fb9d1;
......