Team:Aberdeen Scotland/css
From 2009.igem.org
(Difference between revisions)
Line 147: | Line 147: | ||
.drop { | .drop { | ||
display:block; | display:block; | ||
- | padding: | + | padding:2px .5em; /* this sets the l/r margins for our menu item */ |
margin:0; | margin:0; | ||
text-align:right; /* this right alignment goes with the float:left below */ | text-align:right; /* this right alignment goes with the float:left below */ | ||
Line 164: | Line 164: | ||
.menu ul li ul { | .menu ul li ul { | ||
display:none; /* initially hide the entire list hierarchy */ | display:none; /* initially hide the entire list hierarchy */ | ||
- | padding: | + | padding:0px; /* this is our box border width */ |
} | } |
Revision as of 10:07, 6 August 2009