01.ul.topnav {
02. list-style: none;
03. padding: 0 20px;
04. margin: 0;
05. float: left;
06. width: 620px;
07. background: #222;
08. font-size: 1.2em;
09. background: url(topnav_bg.gif) repeat-x;
10.}
11.ul.topnav li {
12. float: left;
13. margin: 0;
14. padding: 0 15px 0 0;
15. position: relative; /*--Declare X and Y axis base for sub navigation--*/
16.}
17.ul.topnav li a{
18. padding: 10px 5px;
19. color: #fff;
20. display: block;
21. text-decoration: none;
22. float: left;
23.}
24.ul.topnav li a:hover{
25. background: url(topnav_hover.gif) no-repeat center top;
26.}
27.ul.topnav li span { /*--Drop down trigger styles--*/
28. width: 17px;
29. height: 35px;
30. float: left;
31. background: url(subnav_btn.gif) no-repeat center top;
32.}
33.ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
34.ul.topnav li ul.subnav {
35. list-style: none;
36. position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
37. left: 0; top: 35px;
38. background: #333;
39. margin: 0; padding: 0;
40. display: none;
41. float: left;
42. width: 170px;
43. border: 1px solid #111;
44.}
45.ul.topnav li ul.subnav li{
46. margin: 0; padding: 0;
47. border-top: 1px solid #252525; /*--Create bevel effect--*/
48. border-bottom: 1px solid #444; /*--Create bevel effect--*/
49. clear: both;
50. width: 170px;
51.}
52.html ul.topnav li ul.subnav li a {
53. float: left;
54. width: 145px;
55. background: #333 url(dropdown_linkbg.gif) no-repeat 10px center;
56. padding-left: 20px;
57.}
58.html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
59. background: #222 url(dropdown_linkbg.gif) no-repeat 10px center;
60.}