Badboy46: DIV mit festem TOP aber variabler Höhe

Beitrag lesen

Hallo,

so reicht das doch schon...

so sind es dann auch imemr 10px...
bei dein Beispiel... waren es nicht imemr 10px...
je nachdem wie gross bei mir das Fenster war...
wurden es immer mehr px

<style type="text/css">
body{
padding:0;
margin: 0;
height:100%;
background-color:#eeeeee;
}
#dv1{
background-color:green;
top:10px;
height:100%;
width:100%;
position:absolute;
}
</style>