几个比较常用的css

来源:互联网 发布:sdr软件怎么使用 编辑:程序博客网 时间:2024/05/17 03:02

几个比较常用的css

背景自适应

.bg{  background:url(/sbb_storagemanage/resources/images/infobg.png);  filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";  -moz-background-size:100% 100%;  background-size:100% 100%;}

下固定

<footer style='position:fixed; bottom:0; background:#145891; width:100%; height:23px; line-height:23px; z-index:9999;filter:alpha(opacity=60); _bottom:auto; _width:100%; _position:absolute;_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop, 10)||0)-(parseInt(this.currentStyle.marginBottom, 10)||0)));'><div style='text-align:center;color:white;font-size: 10px;'>2014©版权所有</div></footer>
0 0
原创粉丝点击