随笔分类 -  ie6.7兼容性问题总结

在FF里如果里面的元素加了float:left(right),它就不会被撑开的,也就是说的 它的高度是0,如果正常显示,必须加上:overflow:auto
摘要:DIV背景图片在Firefox下不显示,IE下正常在一个大的div里有2个横列(DIV),并且在大的div里加入背景图片。可是改好后,在Firefox下却无法正确显示背景图片。代码是这样的:1.HTML(样本):<div id="footer"> <div id="footer_left">Content1</div> <div id="footer_right">Content2</div></div>2. CSS:#footer { width:730px; 阅读全文

posted @ 2013-02-21 16:52 p-Flower 阅读(198) 评论(0) 推荐(0) 编辑

解决IE6不支持position:fixed的bug
摘要:<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>IE6 position:fixed bug</title><style>*{padding:0;margin:0}p{height:2000px}#gs{border:1px solid #000;position:fixed;right:30px;top:120px 阅读全文

posted @ 2013-01-22 16:57 p-Flower 阅读(194) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示