Template:Caltech PracticeBar
From 2012.igem.org
(Difference between revisions)
Line 135: | Line 135: | ||
/*--- DROPDOWN ---*/ | /*--- DROPDOWN ---*/ | ||
#nav ul{ | #nav ul{ | ||
- | background:# | + | background:#000000; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */ |
background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */ | background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */ | ||
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{ |
Revision as of 00:22, 18 July 2012