<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = UTF-8 "/> <title> Untitled Document </title> <style type =" text/css "> body {font-size: 12px; position: relative; font-family: Verdana, Geneva, sans-serif;} a {color: blue;} ul {margin: 0; padding: 0; list-style: none ;} # navigation {height: 26px;} # navigation li {float: left;} # navigation li. show. content {display: block;} # navigation li a, # navigation li span {display: inline-block; border: solid 1px # fff; border-bottom: none; height: 26px; padding: 0 6px; line-height: 20px; overflow: hidden} # navigation li a: hover, # navigation li. show. index {background: # DBF3FE; border-color: #0a0; position: relative; top: 0px; z-index: 2 ;#container {position: relative; width: 800px; margin: 50px;} # navigation li. content {position: absolute; left: 0; top: 26px; background: # DBF3FE; border: solid 1px #0a0; width: 760px; padding: 20px; display: none ;} # navigation li. content ul li {margin-right: 10px; float: none; display: inline;} # navigation li. content ul li a {border: none;} # navigation li. content ul li {width: 120px;} # navigation li. content ul li h3 {clear: both; text-align: left ;} </style> </pead> <body> <ul id = "navigation"> <li> pinyin index </li> <li> A. Alibaba Cloud <ul> <li> Alibaba Cloud </li> <li> Alibaba mountains </li> <li> Alibaba Mountains </li> </ul> Alibaba mountains <ul> <li> Alibaba mountains </li> <li> Alibaba Mountains </li> </ul> </li> <li> B lollipop <ul> <li> lollipop </li> <li> lollipop </li> <li> lollipop </li> </ul> <li> lollipop </li> <li> lollipop </li> </ul> </li> <li> CC </li> <li> DD </li> <li> EE </li> <li> FF </li> <li> GG </li> <li> HH </li> <li> II </li> <li> JJ </li> <li> KK </li> <li> LL </li> <li> MM </li> <li> NN </li> <li> OO </li> <li> PP </li> <li> QQ </li> <li> RR </li> <li> S [sh] S </li> <li> TT </li> <li> UU </li> <li> VV </li> <li> WW </li> <li> XX </li> <li> YY </li> <li> Z [zh] Z </li> </ul> </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]