05 2016 档案
摘要:1.对于object,加<param name="wmode" value="transparent">,ie浏览器可解决。 2.对于embed, 加wmode="transparent",firefox浏览器可解决。 对于ie浏览器,可设定windowlessVideo=1,设置为无窗口模式。 3
阅读全文
摘要:1、IE与Fire Fox识别CSS属性区别标签 !important #page_body{width: 1000px !important;height:30px !important; width: 980px ;height:36px ;} 以上样式在IE6/7中只执行width: 980p
阅读全文
摘要:ff下:padding:10px; ie8下:*padding:10px; ie6下:_padding:10px;
阅读全文
摘要:float:right向下错位,例如 <div>左文字<span style="float:right">右浮动</span></div> 解决办法: 1、将span放到文字前面 <div><span style="float:right">右浮动</span>左文字</div> 2、div{pos
阅读全文
摘要:1、min-height: div{min-height:100px;_height:100px} 2、min-width: div{display:inline-block;*display:inline;zoom:1;min-width:100px;_width:100px;white-spac
阅读全文
摘要:1、<iframe>里的<a>标签跳转,关键在于target: target="_top"跳转到最外一层; target="_parent"跳转到上一层; target="_blank"跳转到新页面; 2、js跳转: window.location.href.location.href 本页面跳转;
阅读全文
摘要:在使用z-index这个属性之前,我们必须先了解使用z-index的必要条件: 1、要想给元素设置z-index样式,必须先让它变成定位元素,说的明白一点,就是要给元素设置一个postion:relative(定位元素:position属性值设置除默认值static以外的元素,包括relative,
阅读全文

浙公网安备 33010602011771号