CSS的问题 IE和FF不兼容
左面在谷歌浏览下,右面是在IE浏览器下..在IE下就变大了是的..是CSS的那个不兼容??*{margin:0;padding:0}html,body,div,span,...
左面在谷歌浏览下,右面是在IE浏览器下..在IE下 就变大了是的..
是CSS的那个不兼容??
* {margin:0;padding:0}
html, body, div, span,applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;}
body {height:100%;background:#dad8d9;font:12px/1.5em "\5b8b\4f53","Arial Narrow";color:#828282;scrollbar-arrow-color: #cbd5ee; scrollbar-base-color: #fafcff}
h1, h2, h3, h4, h5, strong,em { font-size:100%;}
address, cite, em{font-style:normal;}
small {font-size:11px;}
ul, ol {list-style:none;}
a {color:#353535;text-decoration:none;}
a:hover {text-decoration:underline;}
fieldset, img {border:0;}
.clear { clear:both;}
.clear1 { clear:both; height:0; overflow:hidden;}
.ranklistmod {padding-top:8px;}
.ranklistmod li {position:relative;height:27px!important;height:26px;>height:26px;background:url(ranklist_bg.png) repeat-x left bottom;padding:0 50px 0 28px;overflow:hidden;}
.ranklistmod em {position:absolute;left:0px;top:5px;display:block;width:15px;height:15px;font-size:12px;line-height:14px;color:#7b7b7b;font-family:"Microsoft YaHei";text-align:center;}
.ranklistmod p {height:17px;padding-top:4px;overflow:hidden;}
.ranklistmod a {color:#7b7b7b;}
.score {position:absolute;right:0;top:3px;color:#fa9600;font-weight:bold;}/*1124*/
/*.score {position:absolute;right:0;top:3px;font-size:11px;color:#fa9600;font-family:"Microsoft YaHei";}*/
.score strong {font-size:14px;font-weight:normal;}
.ranklistmod .top em {background:#f99501;color:#fff;}
.ie6fixedTL{position:fixed;left:0;top:0}
.ie6fixedBR{position:fixed;right:0;bottom:0}
* html,* html body{background-image:url(about:blank);background-attachment:fixed}
* html .ie6fixedTL{position:absolute;left:expression(eval(document.documentElement.scrollLeft));top:expression(eval(document.documentElement.scrollTop))}
* html .ie6fixedBR{position:absolute;left:expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)||0));top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)))}
就这样的!! 展开
是CSS的那个不兼容??
* {margin:0;padding:0}
html, body, div, span,applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;}
body {height:100%;background:#dad8d9;font:12px/1.5em "\5b8b\4f53","Arial Narrow";color:#828282;scrollbar-arrow-color: #cbd5ee; scrollbar-base-color: #fafcff}
h1, h2, h3, h4, h5, strong,em { font-size:100%;}
address, cite, em{font-style:normal;}
small {font-size:11px;}
ul, ol {list-style:none;}
a {color:#353535;text-decoration:none;}
a:hover {text-decoration:underline;}
fieldset, img {border:0;}
.clear { clear:both;}
.clear1 { clear:both; height:0; overflow:hidden;}
.ranklistmod {padding-top:8px;}
.ranklistmod li {position:relative;height:27px!important;height:26px;>height:26px;background:url(ranklist_bg.png) repeat-x left bottom;padding:0 50px 0 28px;overflow:hidden;}
.ranklistmod em {position:absolute;left:0px;top:5px;display:block;width:15px;height:15px;font-size:12px;line-height:14px;color:#7b7b7b;font-family:"Microsoft YaHei";text-align:center;}
.ranklistmod p {height:17px;padding-top:4px;overflow:hidden;}
.ranklistmod a {color:#7b7b7b;}
.score {position:absolute;right:0;top:3px;color:#fa9600;font-weight:bold;}/*1124*/
/*.score {position:absolute;right:0;top:3px;font-size:11px;color:#fa9600;font-family:"Microsoft YaHei";}*/
.score strong {font-size:14px;font-weight:normal;}
.ranklistmod .top em {background:#f99501;color:#fff;}
.ie6fixedTL{position:fixed;left:0;top:0}
.ie6fixedBR{position:fixed;right:0;bottom:0}
* html,* html body{background-image:url(about:blank);background-attachment:fixed}
* html .ie6fixedTL{position:absolute;left:expression(eval(document.documentElement.scrollLeft));top:expression(eval(document.documentElement.scrollTop))}
* html .ie6fixedBR{position:absolute;left:expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)||0));top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)))}
就这样的!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询