css中background和_background属性的区别
来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/05/18 12:02:37
css中background和_background属性的区别
css样式表中有如下语句:
.imminbox { width:39px; height:29px;padding-right:3px; cursor:pointer; position:absolute ;right:1px; bottom:0px;z-index:20; overflow:visible; background:url(../images/im_minbar.png) no-repeat; _background:url(../images/im_minbar.gif) no-repeat; top:auto;}
不知道_background属性应该如何理解
*html .imbox{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))-35);}
css中有这么一句,“*html”是什么意思,
css样式表中有如下语句:
.imminbox { width:39px; height:29px;padding-right:3px; cursor:pointer; position:absolute ;right:1px; bottom:0px;z-index:20; overflow:visible; background:url(../images/im_minbar.png) no-repeat; _background:url(../images/im_minbar.gif) no-repeat; top:auto;}
不知道_background属性应该如何理解
*html .imbox{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))-35);}
css中有这么一句,“*html”是什么意思,
1,_background 是IE6的hank 属性,在样式属性前加“ _ ” 只有ie6能识别;样式从向往下运行,一直运行到不能执行为止.
比如
style{
color:#000000; /* FF,OP支持 */
color:#0000FF\9; /* 所有浏览器IE浏览器(ie6+)支持 ;但是IE8不能识别“*”和“_”的css hack;所以我们可以这样写hack */
[color:#000000;color:#00FF00; /* SF,CH支持 */
*color:#FFFF00; /* IE7支持 */
_color:#FF0000; /* IE6支持 */
}
2,关于*html .imbox
也是属于ie 6 的hank .为能解决ie 6的特定问题而设置的.
比如
style{
color:#000000; /* FF,OP支持 */
color:#0000FF\9; /* 所有浏览器IE浏览器(ie6+)支持 ;但是IE8不能识别“*”和“_”的css hack;所以我们可以这样写hack */
[color:#000000;color:#00FF00; /* SF,CH支持 */
*color:#FFFF00; /* IE7支持 */
_color:#FF0000; /* IE6支持 */
}
2,关于*html .imbox
也是属于ie 6 的hank .为能解决ie 6的特定问题而设置的.
css中background和_background属性的区别
CSS中的background和background-color的区别
CSS background-position的用法
css定义body的color和background声明问题
CSS中class和id的区别
CSS里的margin和position:relative 属性有什么区别啊!
在CSS中单词“property“跟“attribute”都表示属性有什么区别?伪类选择器的概念?
CSS求解释.background:url(1.jpg) no-repeat 0 50%; 0 和 50%代表的含义.
属性和实例属性的区别!
物质属性、物体属性和物理属性的区别?
CSS文本属性中,文本对齐属性的取值有( )A.auto B.justify C.center D.right E.le
css中h1 h2 h3标签的系统默认属性值是多少?