Template:Caltech Menubar
From 2012.igem.org
(Difference between revisions)
Line 181: | Line 181: | ||
#nav li:hover ul li a:hover{ /* Here is the background for hovering over each individual link. */ | #nav li:hover ul li a:hover{ /* Here is the background for hovering over each individual link. */ | ||
background:#000000; | background:#000000; | ||
+ | } | ||
+ | #nav ul, #nav:hover ul li ul, #nav:hover ul li:hover ul li ul{ | ||
+ | display:none; | ||
+ | list-style-type:none; | ||
+ | width: 180px; | ||
+ | } | ||
+ | |||
+ | #nav:hover ul li:hover ul, #nav:hover ul li:hover ul li:hover ul { | ||
+ | position:absolute; | ||
+ | display:block; | ||
+ | left: 182px; top: 32px; | ||
+ | } | ||
+ | |||
+ | #nav ul li ul, #nav ul li ul li ul { | ||
+ | clear: left; | ||
+ | margin-top: -30px; | ||
} | } | ||
</style> | </style> |
Revision as of 17:29, 5 September 2012