|
|||
Einfaches Layout mit <div>s - Breitenproblem mit IE
hi!
ich will derzeit ein site-redesign machen und dabei bei jeder bildschirmauflösung den platz optimal nutzen auszug aus meinem css: #headarea { background-image: url(../images/test.jpg); background-repeat: no-repeat; position: absolute; top: 8px; left: 16px; right: 16px; height: 76px; } #leftarea { position: absolute; top: 92px; left: 16px; width: 160px; } #contentarea { position: absolute; top: 100px; left: 184px; right: 184px; min-height: 500px; border: 1px solid rgb(16,123,231); } #rightarea { position: absolute; top: 92px; right: 16px; width: 160px; } mein problem: unter firefox ist alles schön und gut - #rightarea nimmt sich immer soviel breite wie möglich - nur im IE hängt die breite vom inhalt ab |
Sponsored Links |
|
|||
Verscuh ?
Und wenn Du die #headarea
mit width:100% angibst und die abstände mit margin:8px 16px 16px 0px; declarierst? nur eine idee---- Code:
#headarea { background-image: url(../images/test.jpg); background-repeat: no-repeat; position: absolute; width:100%; margin:8px 16px 16px 0px; height: 76px; } |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
einfaches CSS Layout erstellen | BR1977 | CSS | 4 | 14.03.2015 08:29 |
Zerschossenes Layout - Einfaches Layout will nicht gelingen | FlipVanDer | CSS | 8 | 26.09.2012 14:57 |
Einfaches Layout 2 Spalten 2 Zeilen - bloß wie? | armagedon | CSS | 8 | 02.11.2008 15:54 |
komplexes Layout mittels <div>s | inu | CSS | 10 | 16.01.2006 13:43 |
Einfaches Layout | denny | Site- und Layoutcheck | 19 | 25.02.2005 15:20 |