css 下拉式功能表代碼

來源:互聯網
上載者:User
提示:您可以先修改部分代碼再運行

css 下拉式功能表代碼<ul id="menu"><li id="home"><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"><b>Contact</b></li></ul><style>#pad {height:140px;}#menu {padding:0; margin:0 0 0 293px; list-style:none; height:40px; background:url(/blog/upload/image/20091219072952.gif) repeat-x;}#menu li {float:left;}#menu li a {display:block; height:40px; line-height:40px; padding:0 20px 0 0; float:left; color:#fff; text-decoration:none;}#menu li a b {display:block; height:40px; float:left; padding:0 0 0 20px; cursor:pointer;}#menu li a:hover, .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{background:url(yun_qi_img/20091219072902.gif) no-repeat right top; line-height:36px;}#menu li a:hover b,.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{background:url(yun_qi_img/20091219072927.gif) no-repeat left top; line-height:36px;}</style>
提示:您可以先修改部分代碼再運行
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.