摘要:
众所周知IE中直接使用 word-wrap:break-word 就可以了, FF中我们使用JS插入 的技巧来解决代码如下:<style type="text/css"><!-- div { width:300px; word-wrap:break-word; border:1px solid red; } --> </style> <div id="ff">aaaaaaaaaaaaaaaaaaaaaaaaaaaa</div><scrīpt type="text/javascrī 阅读全文
摘要:
标准浏览器中固定高度值的容器是不会象IE6里那样被撑开的,那我又想固定高度,又想能被撑开需要怎样设置呢?办法就是去掉height设置min- height:200px;这里为了照顾不认识min-height的IE6 可以这样定义:代码如下:{ height:auto!important; height:200px; min-height:200px; } 阅读全文
摘要:
div示在FLASH之上解决的办法是给FLASH设置透明 <param name="wmode" value="transparent" /> 阅读全文