I'm twiting

访问统计

free counters

javascript 项目实践经验总结(本文长期更新)

  • ie6下select的显示层级是最高的,即使div的z-index比它高也无法挡住,解决的方法是用透明的iframe去挡select,然后div挡iframe,间接的把select挡住。要点:1、iframe的z-index必须比div小。2、在写html时iframe必须和div并排,而不能是包含关系。ps. 建议写弹窗的js时就把加iframe的代码写进去,便于复用。
  • 圆角图片:gif不支持半透明效果,而圆角边线是需要半透明的,所以gif做的圆角有毛边。png支持半透明效果,但是ie6不支持png。我的解决方法是用css3的border-radius,例如firefox就是-moz-border-radius,chrome就是-webkit-border-radius。ie6下直接忽略,不使用圆角。。。
Share on Facebook

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>