Changeset 239
- Timestamp:
- 10/21/06 02:21:14 (2 years ago)
- Files:
-
- trunk/core/layouts/base.css (modified) (1 diff)
- trunk/sites/test/test01.htm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/layouts/base.css
r238 r239 19 19 20 20 /*GRIDS*/ 21 .u, .g { width: 100%;} /* units and grids are full wide by default*/ 22 .g { float: left; margin-left: 0;} /* not nested grids should float left*/ 23 .g .g { float: right;} /* nested grids should float right, */ 24 .g .u { float: right; margin-left: 1%;} 25 .g .fst { float: left; margin-left: 0;} 21 .u, .g { width: 100%;} /* units and grids are full wide by default */ 22 .g { float: left;} /* grids not nested in a grid float left */ 23 .g .u, .g .g { float: right;} /* units and grids nested in a grid float right */ 26 24 27 25 /*variants*/ 26 .g .u { margin-left: 1%;} 27 .g .fst { float: left; margin-left: 0;} 28 29 .g0>.u, 30 .g0>.g { width: 100%;} 31 .g0>.fst { width: 100%;} 32 28 33 .g1>.u, 29 .g1>.g { width: 49.5%;} 30 .g1>.fst { width: 49.5%;} 34 .g1>.g { width: 49.5%;} 35 .g1>.fst { width: 49.5%;} 36 31 37 .g2>.u, 32 .g2>.g { width: 24.5%;} 33 .g2>.fst { width: 74.5%;} 38 .g2>.g { width: 24.5%;} 39 .g2>.fst { width: 74.5%;} 40 34 41 .g3>.u, 35 .g3>.g { width: 74.5%;}36 .g3>.fst { width: 24.5%;}42 .g3>.g { width: 74.5%;} 43 .g3>.fst { width: 24.5%;} 37 44 38 45 /*PG*/ 39 .pg1 {}40 .pg2 { width: 46.875em; max-width: 100%; min-width:750px; margin: auto;}41 .pg3 { width:750px; margin: auto;}46 .pg1 {} 47 .pg2 { width: 46.875em; max-width: 100%; min-width:750px; margin: auto;} 48 .pg3 { width:750px; margin: auto;} 42 49 43 50 /*BD*/ 44 #pg .bd1 {}51 #pg .bd1 {} 45 52 #pg .bd1>.u, 46 #pg .bd1>.g {}47 #pg .bd2 #main { float: right; width: 75%;}53 #pg .bd1>.g {} 54 #pg .bd2 #main { float: right; width: 75%;} 48 55 #pg .bd2>.u, 49 #pg .bd2>.g { width: 24.5%; float: left;}50 #pg .bd3 #main { float: left; width: 75%;}56 #pg .bd2>.g { width: 24.5%; float: left;} 57 #pg .bd3 #main { float: left; width: 75%;} 51 58 #pg .bd3>.u, 52 #pg .bd3>.g { width: 24.5%; float: right;}59 #pg .bd3>.g { width: 24.5%; float: right;} 53 60 54 61 /*TOTOP*/ 55 62 56 63 /*prerequisites*/ 57 #bd { position: relative; *height: 1%;}58 #bd:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}64 #bd { position: relative; *height: 1%;} 65 #bd:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;} 59 66 60 67 /*totop1*/ 61 68 .totop1, 62 .totop2 { position: absolute; top: 0; left:0; width: 100%; *clear: both; margin: 0; padding: 0;}69 .totop2 { position: absolute; top: 0; left:0; width: 100%; *clear: both; margin: 0; padding: 0;} 63 70 64 71 /*totop2*/ 65 .totop2 .w { list-style: none; margin: 0; padding: 0;}66 .totop2 .w { position: absolute; bottom: 0; width: 100%;}72 .totop2 .w { list-style: none; margin: 0; padding: 0;} 73 .totop2 .w { position: absolute; bottom: 0; width: 100%;} 67 74 68 75 /*NAVH*/ 69 .navh ul { list-style: none; margin: 0; padding: 0;}70 .navh ul { float: left; width: 100%;}71 .navh li { float: left; margin-right: 5px;}76 .navh ul { list-style: none; margin: 0; padding: 0;} 77 .navh ul { float: left; width: 100%;} 78 .navh li { float: left; margin-right: 5px;} 72 79 73 80 /*COLS-EQUAL*/ 74 81 .cols_eq .g .u, 75 .cols_eq .g .g { padding-bottom: 10000px; margin-bottom: -10000px;}82 .cols_eq .g .g { padding-bottom: 10000px; margin-bottom: -10000px;} 76 83 .cols_eq #main, 77 .cols_eq .g { overflow: hidden;}84 .cols_eq .g { overflow: hidden;} 78 85 .cols_eq .u, 79 .cols_eq .g { position: relative;} /*bugfix for firefox (avoid some elements hidden by others)*/86 .cols_eq .g { position: relative;} /*bugfix for firefox (avoid some elements hidden by others)*/ trunk/sites/test/test01.htm
r238 r239 65 65 66 66 <div class="g g1 fst"> 67 <div class="g ">67 <div class="g g0"> 68 68 <div class="u"> 69 69 glob1 glob1 glob1 glob1 glob1 glob1 glob1 glob1