Du bist nicht angemeldet.
Mastercooling
God
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
.spalte1 { width:400px; height:500px; float:left; margin:0px 15px 0px 15px; padding:0px; background-color: #FF3333; } .spalte2 { width:280px; height:500px; float:right; margin:0px 15px 0px 15px; padding:0px; background-color:#FF0000; } |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
.spalte1 { width:400px; height:500px; float:left; margin:0px 15px 0px 15px; padding:5px; background-color: #FF3333; } .spalte2 { width:280px; height:500px; float:right; margin:0px 15px 0px 15px; padding:5px; background-color:#FF0000; } |
Mastercooling
God
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
body { height:100%; vertical-align: top; text-align: center; margin:0px; padding-top:0px; background:#fff; font: Georgia, Verdana, sans-serif; color:#000000; font-size:13px; background-color: #878787; } html { } .gesamt { width:850px; height:100%; margin: 35px auto 0px auto; padding:0px; background-color: #FFFF99; } .header { width:850px; height: 80px; margin:0px; padding:0px; } .navigation { width:150px; height:300px; float:left; margin:25px 0px 0px 15px; padding:6px 0px 0px 0px; background-color: #FF9933; } .spalten{ width:655px; height:500px; float:right; margin:25px 15px 0px 15px; padding:0px; background-color: #FF6633; } .spalte1 { width:390px; height:490px; float:left; margin:0px 15px 0px 15px; padding:5px; background-color: #FF3333; } .spalte2 { width:175px; height:490px; float:right; margin:0px 15px 0px 0px; padding:5px; background-color:#FF0000; } .footer { clear:both; width:850px; height:55px; } |
Mastercooling
God
Mastercooling
God
Mastercooling
God
Zitat von »Hanni«
Mein Problem war aber, dass der IE das margin immer doppelt genommen hat. Gebe ich 10px an, nimmt er 20px.
Mastercooling
God
Zitat von »Y0Gi«
DrStrange: Solche Layout-Container sind aber im Hinblick auf Semnatik äußerst ungern gesehen
Die Angabe bezieht sich immer nur auf eine Seite, von daher ist das schon richtig so.
![]() |
Quellcode |
1 |
margin: 10px 10px 10px 10px; |
-