Template:Template HD2

From 2009.igem.org

(Difference between revisions)
Line 127: Line 127:
   display: block;
   display: block;
   background: transparent;
   background: transparent;
-
   height: 22px; /* Keep height + padding-top + padding-bottom sync with the menu bar height. */
+
   height: 4ex; /* Keep height + padding-top + padding-bottom sync with the menu bar height. */
   color: #FFFFFF;
   color: #FFFFFF;
-
   padding-top: 4px;
+
   padding-top: 0.4ex;
-
   padding-bottom: 4px;
+
   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: 0em;
+
   height: 3em;
-
   padding: 1ex; /* Sets the drop-down menu "effective border" width. */
+
   padding: 0ex; /* Sets the drop-down menu "effective border" width. */
-
   position: absolute;  /*absolute*/
+
   position: relative;  /*absolute*/
-
   top: 22px; /* Places the drop-down menu under the menu bar. Keep it sync with the menu bar height. */
+
   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