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: 0px;          /* 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: 0px;
+
height: -1px;
}
}

Revision as of 09:59, 6 August 2009