Template:Template HD2
From 2009.igem.org
(Difference between revisions)
Naoiwamoto (Talk | contribs) |
Naoiwamoto (Talk | contribs) |
||
Line 127: | Line 127: | ||
display: block; | display: block; | ||
background: transparent; | background: transparent; | ||
- | height: | + | height: 4ex; /* Keep height + padding-top + padding-bottom sync with the menu bar height. */ |
color: #FFFFFF; | color: #FFFFFF; | ||
- | padding-top: | + | padding-top: 0.4ex; |
- | padding-bottom: | + | padding-bottom: 0.4ex; |
padding-left: 1em; /* Sets the left space between top-level items. */ | padding-left: 1em; /* Sets the left space between top-level items. */ | ||
padding-right: 1em; /* Sets the right space between top-level items. */ | padding-right: 1em; /* Sets the right space between top-level items. */ | ||
Line 141: | Line 141: | ||
display: block; | display: block; | ||
width: 4.5em; /*Drop-down menu width. Use MenuTailor.css to customize. */ | width: 4.5em; /*Drop-down menu width. Use MenuTailor.css to customize. */ | ||
- | height: | + | height: 3em; |
- | padding: | + | padding: 0ex; /* Sets the drop-down menu "effective border" width. */ |
- | position: | + | position: relative; /*absolute*/ |
- | top: | + | top: 0px; /* Places the drop-down menu under the menu bar. Keep it sync with the menu bar height. */ |
left: 0px; /* Aligns the drop-down menu to its top-level item. */ | left: 0px; /* Aligns the drop-down menu to its top-level item. */ | ||
background-color: transparent; /* Selected item. */ | background-color: transparent; /* Selected item. */ |
Revision as of 15:06, 6 October 2009