根据不同的浏览器对不同元素进行css调整

<!if firefox>
    .element { top:4px; }
<![endif]>
<!if chrome>
    .element { top:6px; }
<![endif]>
<!if ie>
    .element { top:8px; }
<![endif]>
<!if opera>
    .element { top:10px; }
<![endif]>
<!if safari_webkit>
    .element { top:12px; }
<![endif]>
posted @ 2013-09-06 16:16  晴耕雨读-li  阅读(272)  评论(0)    收藏  举报