css 一些小笔记

旧城等待, 2021-10-19 08:44 448阅读 0赞

针对IE6 的

浮动 加 display:inline

子元素 position:relative; overflow:hidden 失效 ,需在父元素上同样加上 position:relative;

模拟 max_height max_width

_width:expression((document.documentElement.clientWidth||document.body.clientWidth)<750?””:”750px”);cursor: pointer;_height:expression((document.documentElement.clientHeight||document.body.clientHeight)<620?””:”620px”);overflow:hidden;

居中 display:table display:table-cell; table-layout:fixed;

IE6 z-index 的bug 浮动 背景透明的 bug

转载于:https://www.cnblogs.com/yxbs/archive/2013/01/03/2843104.html

发表评论

表情:
评论列表 (有 0 条评论,448人围观)

还没有评论,来说两句吧...

相关阅读

    相关 CSS一些总结

    CSS的一些心得 1. float和flex。 * 在实现当删除某个div块后,想要实现后续的div块能自动补位的效果时,可以把div设置成f...