注:

1、 用父元素清子元素的方法:

     overflow:hidden; zoom:1;

 

2、背景图片居中对齐样式方法/:

url("../images/Mark.jpg") no-repeat scroll 5px center transparent

 

"5px cente":表示左右

 

3、IE6双倍bug:

     当有float:left/right; margin-left:5px;在IE6下会产生双倍BUG ,须用_display:inline;(IE6的HACK)清浮动;

 

 

 

posted on 2012-04-18 00:16  丫头_123139  阅读(178)  评论(0编辑  收藏  举报