Div Positionierung (relatives Div-Box mit Höhe-Problem)

BlueBull

Grünschnabel
Hallo liebe Users,

ich habe ein Problem mit Div Positionierung. Also das Box muss 50 Pixel hoch sein, aber im Google Chrome und Firefox ist das Box nicht 50 Pixel hoch, also CSS funktioniert nicht so wirklich. Warum das denn? Was habe ich nun falsch geschrieben?

Hier ist Code:
Code:
<html>
<head>
<style type="text/css">
#login {
position: relative;
top: 172px;
left: -265px;
min-height: 200px;
width: 320px;
height: 50px;
background-color :#ddf;
}
</style>
</head>

<body>
<div id="login"></div>
</body>


Danke im Voraus.
 

Neue Beiträge

Zurück