Return to Snippet

Revision: 56152
at March 13, 2012 06:13 by webtechdev


Initial Code
<style type="text/css">

/* =Menu
---------------------- ---------------------------------------- */
#access { 
	background: #000;
	display: block;
	float: left;
	margin: 0 auto;
	width: 940px;
}
#access .menu-header,
div.menu {
	font-size: 13px;
	margin-left: 12px;
	width: 928px;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#access a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #333;
	color: #fff;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #fff;
}
</style>
<div id="access" role="navigation">
  <div class="menu">
    <ul>
      <li class="current_page_item"><a href="#" title="Home">Home</a></li>
      <li class="page_item page-item-2489"><a href="#">Contribute</a>
      <ul class='children'>
          <li class="page_item page-item-17"><a href="#">History</a></li>
          <li class="page_item page-item-12"><a href="#">Our Company</a></li>
          <li class="page_item page-item-14"><a href="#">Our Staff</a>
            <ul class='children'>
              <li class="page_item page-item-29"><a href="#">Employment Opportunities</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class="page_item page-item-46"><a href="#">About</a>
      <ul class='children'>
          <li class="page_item page-item-17"><a href="#">History</a></li>
          <li class="page_item page-item-12"><a href="#">Our Company</a></li>
          <li class="page_item page-item-14"><a href="#">Our Staff</a>
            <ul class='children'>
              <li class="page_item page-item-29"><a href="#">Employment Opportunities</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class="page_item page-item-2485"><a href="">About Corky</a></li>
      <li class="page_item page-item-23"><a href="#">Contact Us</a>
        <ul class='children'>
          <li class="page_item page-item-27"><a href="#">Our Location</a></li>
        </ul>
      </li>
      <li class="page_item page-item-2493"><a href="#">Contact/links</a></li>
      <li class="page_item page-item-2491"><a href="#">Events/Press</a></li>
      <li class="page_item page-item-21"><a href="#">Links</a></li>
      <li class="page_item page-item-2487"><a href="#">My Platform</a></li>
      <li class="page_item page-item-25"><a href="#">News</a>
        <ul class='children'>
          <li class="page_item page-item-17"><a href="#">History</a></li>
          <li class="page_item page-item-12"><a href="#">Our Company</a></li>
          <li class="page_item page-item-14"><a href="#">Our Staff</a>
            <ul class='children'>
              <li class="page_item page-item-29"><a href="#">Employment Opportunities</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class="page_item page-item-2527"><a href="#">photos</a></li>
      <li class="page_item page-item-19"><a href="#">Support</a></li>
    </ul>
  </div>
</div>
<!-- #access -->

Initial URL

                                

Initial Description
default theme perfect menu

Initial Title
wordpress default menu code

Initial Tags
theme

Initial Language
PHP