Mister Knister
Aktives Mitglied
Thread Starter
- Dabei seit
- 27.04.2005
- Beiträge
- 570
- Reaktionspunkte
- 2
Hi Macuser
Ich hab mal wieder en Problem mit nem zentrierten Inhalt bei CSS. Ich hab schon alles erdenklich probiert aber es gelingt mir nicht. Schauts euch mal bitte an:
CSS: .BackgroundGreyNew { position:absolute;
top:100px;
left:auto;
right:auto;
bottom:50px;
height:746px;
width:601px;
background-color:#0000ff
}
HTML: ...
<body>
<div class="BackgroundGreyNew"> </div>
</body>
...
Des sollte doch so funktionieren.
Gruss Mister Knister
Ich hab mal wieder en Problem mit nem zentrierten Inhalt bei CSS. Ich hab schon alles erdenklich probiert aber es gelingt mir nicht. Schauts euch mal bitte an:
CSS: .BackgroundGreyNew { position:absolute;
top:100px;
left:auto;
right:auto;
bottom:50px;
height:746px;
width:601px;
background-color:#0000ff
}
HTML: ...
<body>
<div class="BackgroundGreyNew"> </div>
</body>
...
Des sollte doch so funktionieren.
Gruss Mister Knister