Team:Aberdeen Scotland/css
From 2009.igem.org
(Difference between revisions)
Line 79: | Line 79: | ||
height: 35px; | height: 35px; | ||
min-width:560px; | min-width:560px; | ||
- | + | ||
} | } | ||
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: | + | height: 0px; /* 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: | + | height: 0px; |
- | + | ||
} | } | ||
Revision as of 09:59, 6 August 2009