Team:Aberdeen Scotland/css

From 2009.igem.org

(Difference between revisions)
Line 171: Line 171:
.menu ul li a,
.menu ul li a,
.menu ul li a:visited {                    /* unselected top-level menu items */
.menu ul li a:visited {                    /* unselected top-level menu items */
-
display:inline;
+
display:block;
float:left;
float:left;
text-decoration:none;
text-decoration:none;
Line 191: Line 191:
position:absolute;
position:absolute;
margin:0;
margin:0;
-
top:30px;              /* place us just up underneath the top-level images */
+
top:20px;              /* place us just up underneath the top-level images */
left:8px;      /* left-align our drop-down to the previous button border */
left:8px;      /* left-align our drop-down to the previous button border */
height:auto;      /* the drop-down height will be determiend by line count */
height:auto;      /* the drop-down height will be determiend by line count */

Revision as of 10:26, 6 August 2009