Team:Aberdeen Scotland/css
From 2009.igem.org
(Difference between revisions)
Line 85: | Line 85: | ||
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: | + | 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 92: | Line 92: | ||
position:relative; | position:relative; | ||
margin-left:-560px; | margin-left:-560px; | ||
- | height: | + | height: 1px; |
} | } | ||
Revision as of 13:23, 5 August 2009