Full CSS popup menu

Source: Internet
Author: User
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title> popup Menu </title>
<style type= "Text/css" >
/* Common Styling */
. menu {font-family:arial, sans-serif; width:750px; position:relative; margin:0; font-size:11px; margin:50px 0;}
. menu ul li A,. Menu ul li a:visited {display:block; text-decoration:none; color: #000; width:104px; height:20px; text-align : Center; Color: #fff; border:1px solid #fff; Background: #710069; line-height:20px; font-size:11px; Overflow:hidden;}
. menu ul {padding:0; margin:0;list-style-type:none;}
. menu ul li {float:left; margin-right:1px; position:relative;}
. menu UL Li ul {display:none;}


/* Specific to non IE browsers */
. Menu ul li:hover a {color: #fff; background: #36f;}
. Menu UL Li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
. menu UL Li:hover ul li a.hide {background: #6a3; color: #fff;}
. menu UL Li:hover ul li:hover a.hide {background: #6fc; color: #000;}
. menu UL Li:hover ul li ul {display:none;}
. menu UL Li:hover ul li a {display:block; background: #ddd; color: #000;}
. menu UL Li:hover ul li a:hover {background: #6fc; color: #000;}
. menu UL Li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;}
. menu UL Li:hover ul li:hover ul.left {left:-105px;}


</style>
<!--[If LTE IE 6]>
<style type= "Text/css" >
. menu ul li A.hide,. Menu ul li a:visited.hide {display:none;}
. menu ul Li A:hover ul li a.hide {display:none;}


. menu ul li a:hover {color: #fff; background: #36f;}
. menu ul Li A:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
. menu ul Li A:hover ul li a.sub {background: #6a3; color: #fff;}
. menu ul Li A:hover ul li a {display:block; background: #ddd; color: #000;}
. menu ul Li A:hover ul Li a ul {Visibility:hidden;}
. menu ul Li A:hover ul li a:hover {background: #6fc; color: #000;}
. menu ul Li A:hover ul Li A:hover ul {visibility:visible; position:absolute; left:105px; top:0; color: #000;}
. menu ul Li A:hover ul li A:hover ul.left {left:-105px;}


</style>
<! [endif]-->


<body>


<div class= "Menu" >


<ul>
<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" >


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a class= "Sub" href= "http://www.php1.cn/" > <table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/ "> </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/ "> <li><a href=" http://www.php1.cn/"> <li><a href=" http://www.php1.cn/"> </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/ "> </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/ "> <li><a href=" http://www.php1.cn/"> <li><a href=" http://www.php1.cn/"> </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/ "> <li><a href=" http://www.php1.cn/"> <li><a href=" http://www.php1.cn/"> <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>


<li><a class= "Hide" href= "http://www.php1.cn/" >


<!--[If LTE IE 6]>
<a href= "http://www.php1.cn/" ><table><tr><td>
<! [endif]-->


<ul>
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a class= "Hide" href= "/HTTP/ www.php1.cn/">


<!--[If LTE IE 6]>
<a class= "Sub" href= "http://www.php1.cn/" > <table><tr><td>
<! [endif]-->


<ul class= "Left" >
<li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > <li><a href= "http://www.php1.cn/" > </ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>
</ul>


<!--[If LTE IE 6]>
</td></tr></table>
</a>
<! [endif]-->


</li>
</ul>


</div>
</body>

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    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.