提示:您可以先修改部分代碼再運行
經典css 導覽功能表代碼<div id="menuContainer"><ul id="menu"><li id="home" class="first"><b>Home</b></li><li id="single"><b>Single Level</b></li><li id="dropdown"><b>Dropdown</b></li><li id="dropline"><b>Dropline</b></li><li id="flyout"><b>Flyout</b></li><li id="support"><b>Support</b></li><li id="contact" class="last"><b>Contact</b></li></ul></div><style>#pad {height:140px;}#menu {padding:0; margin:0; list-style:none; float:right;}#menu li {float:left; margin-left:2px;}#menu li a {display:block; float:left; height:40px; text-decoration:none; font-family:arial, sans-serif; padding:0 20px 0 0; font-size:11px; color:#fff; background: url(yun_qi_img/20091217072138.gif) no-repeat right top; text-transform:uppercase;}#menu li a b {display:block; float:left; height:15px; padding:25px 0 0 20px; background:url(yun_qi_img/20091217072138.gif) left top; cursor:pointer;}#menu li a:hover {position:relative; color:#000;}#menu li a:hover b {height:32px; padding-top:8px;}.home #menu li#home a,.single #menu li#single a,.dropdown #menu li#dropdown a,.dropline #menu li#dropline a,.flyout #menu li#flyout a,.support #menu li#support a,.contact #menu li#contact a{color:#000;}.home #menu li#home a b,.single #menu li#single a b,.dropdown #menu li#dropdown a b,.dropline #menu li#dropline a b,.flyout #menu li#flyout a b,.support #menu li#support a b,.contact #menu li#contact a b{height:32px; padding-top:8px;}</style>
提示:您可以先修改部分代碼再運行