日期:2014-05-16  浏览次数:20573 次

ul标签 ie7,ie8兼容怎么搞
ul标签 ie7,ie8兼容怎么搞,为什么ie7的高度会高些啊??、不要使用<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 。。。

代码如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title><style type="text/css">
        a:link
        {
            text-decoration: none;
        }
        a:visited
        {
            text-decoration: none;
        }
        a:hover
        {
            text-decoration: underline;
        }
        a:active
        {
            text-decoration: none;
        }
        .cs-north-bg
        {
            width: 100%;
            height: 100%;
            background: url(themes/gray/images/header_bg.png) repeat-x;
        }
        .cs-north-logo
        {
            height: 40px;
            margin: 15px 0px 0px 5px;
            display: inline-block;
            color: #000000;
            font-size: 22px;
            font-weight: bold;
            text-decoration: none;
        }
        
        .ui-skin-nav
        {
            float: right;
            padding: 0;
            margin-right: 10px;
            list-style: none outside none;
            height: 30px;
        }
        .ui-skin-nav .li-skinitem