Template:Caltech PracticeBar
From 2012.igem.org
(Difference between revisions)
Line 139: | Line 139: | ||
list-style:none; | list-style:none; | ||
position:absolute; | position:absolute; | ||
- | + | display:none; /* Hide off-screen when not needed (this is more accessible than display:none;) */ | |
} | } | ||
#nav ul li{ | #nav ul li{ | ||
Line 146: | Line 146: | ||
} | } | ||
#nav ul a{ | #nav ul a{ | ||
- | + | white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */ | |
} | } | ||
#nav li:hover ul{ /* Display the dropdown on hover */ | #nav li:hover ul{ /* Display the dropdown on hover */ |
Revision as of 00:28, 18 July 2012