This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

html form

By: a guest on Dec 21st, 2010  |  syntax: None  |  size: 1.55 KB  |  views: 79  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /* =Menu
  2. -------------------------------------------------------------- */
  3.  
  4. #access {
  5.         background: #333;
  6.         display: block;
  7.         float: left;
  8.         margin: 0 auto;
  9.         width: 940px;
  10.  
  11.  
  12.  
  13. }
  14. #access .menu-header,
  15. div.menu {
  16.         font-size: 14px;
  17.         margin-left: 12px;
  18.         width: 928px;
  19.  
  20. }
  21. #access .menu-header ul,
  22. div.menu ul {
  23. list-style: none;
  24.         margin: 0;
  25.  
  26.  
  27. }
  28.        
  29.  
  30.  
  31. #access .menu-header li,
  32. div.menu li {
  33.         float: left;
  34.         position: relative;
  35.  
  36. }
  37. #access a {
  38.         color: #aaa;
  39.         display: block;
  40.         line-height: 38px;
  41.         padding: 0 10px;
  42.         text-decoration: none;
  43.  
  44. }
  45. #access ul ul {
  46.         box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
  47.         -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
  48.         -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
  49.         display: none;
  50.         position: absolute;
  51.         top: 38px;
  52.         left: 0;
  53.         float: left;
  54.         width: 180px;
  55.         z-index: 99999;
  56. }
  57. #access ul ul li {
  58.         min-width: 180px;
  59. }
  60. #access ul ul ul {
  61.         left: 100%;
  62.         top: 0;
  63. }
  64. #access ul ul a {
  65.         background: #333;
  66.         line-height: 1em;
  67.         padding: 10px;
  68.         width: 160px;
  69.         height: auto;
  70. }
  71. #access li:hover > a,
  72. #access ul ul :hover > a {
  73.         background: #999;
  74.         color: #fff;
  75. }
  76. #access ul li:hover > ul {
  77.         display: block;
  78. }
  79. #access ul li.current_page_item > a,
  80. #access ul li.current-menu-ancestor > a,
  81. #access ul li.current-menu-item > a,
  82. #access ul li.current-menu-parent > a {
  83.         color: #fff;
  84. }
  85. * html #access ul li.current_page_item a,
  86. * html #access ul li.current-menu-ancestor a,
  87. * html #access ul li.current-menu-item a,
  88. * html #access ul li.current-menu-parent a,
  89. * html #access ul li a:hover {
  90.         color: #fff;
  91. }
clone this paste RAW Paste Data