Hallo nochmal
#main{
top:15%;
left:5px;
height:75%;
width:80%;
overflow:auto;
}
wozu "top" und "left" ?
von "overflow:auto" halte ich auch nichts, weil man in einigen Browser(versionen) in solchen Containern nicht mit dem Mausrad scrollen kann.
sagte ich nicht, das #main (sprich das DIV) relativ positioniert werden soll
(position:relative)?
.tab{
font-family:'Tahoma','Arial';
margin:10px;
position:relative;
top:10%;
bottom:10%;
height:80%;
left:15%;
right:15%;
width:70%;
}
"font-family" ist sicherlich keine relevanter Quellcode ;)
warum "margin"?
warum "position:relative"?
nach meinem Vorschlag sollte es doch absolut positioniert werden (position:absolute;).
warum "top", "bottom", "left" und "right".
es reicht doch die obere linke Ecke (Koordinate) festzulegen (left:10%; top:15%;).
bin auf deine nächste Version gespannt ;)
Gruß NAG
signatur