![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css 相关
cao8222
这个作者很懒,什么都没留下…
展开
-
css ie中最小(最大)高度(宽度) 的处理方法
最小宽度:min-width:800px;width:expression(document.body.clientWidth 800? "800px": "auto" ); 最小高度:min-height:300px;overflow:hidden;height:expression(this.scrollHeight 300? "300px" : "auto" ); 最大高度:max-转载 2008-12-04 23:08:00 · 1693 阅读 · 0 评论 -
学习div float 在ff和ie下的布局区别
作者:miyiyi[at]gmail[点]com来源:http://www.blabla.cn/html_ref/firefox_ie_diff01.html时间:2006-12-20基本HTML代码 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Div Float Samplediv { margin:3px; }.d原创 2008-12-05 00:00:00 · 1551 阅读 · 0 评论 -
如何在网页设计IE与Firefox的CSS兼容?
1.DOCTYPE 影响 CSS 处理 2.FF: div 设置 margin-left, margin-right 为 auto 时已经居中, IE 不行 3.FF: body 设置 text-align 时, div 需要设置 margin: auto(主要是 margin-left,margin-right) 方可居中 4.FF: 设置 padding 后, div 会增加 he原创 2008-12-05 00:28:00 · 407 阅读 · 0 评论 -
div 高度自适应 和其他一些技巧
html也要设置100% ,对后面的div可能会有影响html,body{height:100%;margin:0;}设置 div为绝对定位. style="width:500px; height:100%!important; background:#003333; position:absolute;"./#/需要自动高度的地方{min-height:500px;height:auto原创 2008-12-08 09:39:00 · 570 阅读 · 0 评论 -
图片闪亮效果
$f.css({opacity:".75"}).stop().animate({opacity:".01"},500);原创 2008-12-06 15:31:00 · 654 阅读 · 0 评论 -
CSS Hack 汇总快查
转载连接 http://andymao.com/andy/post/76.html 屏蔽IE浏览器(也就是IE下不显示) *:lang(zh) select {font:12px !important;} /*FF,OP可见,特别提醒:由于Opera最近的升级,目前此句只为FF所识别*/ select:empty {转载 2008-12-11 15:46:00 · 355 阅读 · 0 评论