Mike Dyke: Spalten wie in der Zeitung

Beitrag lesen

moin, kann mir jemand einen Tipp geben wie ich div's so wie in einer Zeitung anordnen kann ?

Ja mit float:left; bzw. float:right;

Container 1      Container 2
+-------------+ +----------------+
| +---------+ | | +------------+ |
| |         | | | |            | |
| |         | | | |            | |
| |  DIV 1  | | | |   DIV 3    | |
| |         | | | |            | |
| |         | | | |            | |
| |         | | | |            | |
| |         | | | |            | |
| +---------+ | | |            | |
| +---------+ | | |            | |
| |         | | | |            | |
| |  DIV 2  | | | +------------+ |
| |         | | |                |
| +---------+ | |                |
+-------------+ +----------------+

#div1 { position:absolute; width:100px; height:150px }  
#div2 { position:absolute; width:100px; height:90px }  
#div3 { position:absolute; width:130px; height:220px }  
  
#Container1 { float:left; }  
#Container2 { float:left; }

Musst noch gucken und anpassen, aber so dürfe es funzen.