Team:Aberdeen Scotland/css

From 2009.igem.org

(Difference between revisions)
Line 86: Line 86:
position:relative;  /* we can simulate a minimum width by creating a large */
position:relative;  /* we can simulate a minimum width by creating a large */
float:left;          /* border in this first div, then placing our content */
float:left;          /* border in this first div, then placing our content */
-
height: -1px;          /* into a second nested div (see 2nd nested div next */
+
height: 1px;          /* into a second nested div (see 2nd nested div next */
border-left:560px solid #fff;    /* CSS box-model borders are a fixed size */
border-left:560px solid #fff;    /* CSS box-model borders are a fixed size */
Line 94: Line 94:
position:relative;
position:relative;
margin-left:-560px;
margin-left:-560px;
-
height: -1px;
+
height: 1px;
}
}
Line 137: Line 137:
.menu ul li table {
.menu ul li table {
-
margin:-1px 0;              /* IE5 needs -1px top and bottom table margins */
+
 
-
m\argin:0;              /* re-zero the table margins for everyone but IE5 */
+
margin:0;              /* re-zero the table margins for everyone but IE5 */
border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
font-size:12px;        /* this sets the base font size for our entire menu */
font-size:12px;        /* this sets the base font size for our entire menu */

Revision as of 10:04, 6 August 2009