This article is mainly for you in detail the CSS set page navigation bar related information, the need for friends can refer to the following
HTML page: <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
CSS files:/*** ESSENTIAL STYLES ***/. Nav,. Nav * {margin:0; padding:0; List-style:none; }. Nav {line-height:1.0;}. Nav ul {position:absolute; Top: -999em; Width:13em; /* Left offset of submenus need to match (see below) */}. Nav ul li {width:100%;}. Nav li:hover {Vis Ibility:inherit; /* fixes IE7 ' sticky bug ' */}. nav li {float:left; position:relative; }. Nav a {display:block; position:relative; }. NAV Li:hover ul,. NAV li.sfhover ul {left:0; top:36px; /* Match top UL list item height */z-index:99; } Ul.nav Li:hover Li ul, Ul.nav Li.sfhover Li ul {top: -999em;} ul.nav Li Li:hover ul, Ul.nav Li Li.sfhov Er ul {left:13em;/* Match ul width */top:0;} ul.nav Li Li:hover li ul, Ul.nav Li Li.sfh Over Li ul {top: -999em;} ul.Nav Li Li Li:hover ul, Ul.nav Li Li Li.sfhover ul {left:13em;/* Match ul width */top:0px ; }/*** DEMO SKIN ***/. Nav {float:left; Font-family:verdana, Arial, Helvetica, Sans-serif; font-size:14px; }. Nav a {padding:1em 1.1em 1em 1.1em; Text-decoration:none; Background:url ("22.png") no-repeat-1px 0px; }. Nav a,. nav a:visited {/* visited pseudo selector so IE6 applies text colour*/color: #333; font-weight:800; }. Nav li {/*background:url (".. /images/menu_divider.png ") no-repeat-1px 0px;*//*background:url (" 11.png ") no-repeat-1px 0px;*/}. Nav Li:hover A {color: #eee;} . Nav Li Li A {background: #333; }. Nav Li li a:hover {text-decoration:underline;}. Nav li ul {background: #000;} . Nav li:hover,. Nav li.sfhover,. Nav a:focus,. Nav a:hover,. Nav a:active {outline:0; Color: #fff; Background: #0088ff;/* mouse over or activate */}. NAV li ul li:hover,. Nav Li ul li.sfHover,. Nav Li ul li A:focus,. Nav Li ul li A:hover,. Nav Li ul li a:active {outline:0; Color: #fff; }. Nav li.current_page_item,. Nav li.current-cat {background: #333;} . Nav Li.current_page_item A,. Nav li.current-cat A {color: #fff;}