Het lijkt zo simpel, en toch loop ik weer tegen een muur aan...
Ik heb 2 DIV's (header en navbar) vast bovenaan de pagina.
Daaronder 3 kolommen content.
Daaronder footer.
structuur:
wrapper
row-1
row-2
row-3
row3col1 row3col2 row3col3
row-4
CSS:
#wrapper {
width: 800px;
margin-right: auto;
margin-left: auto;
}
#row-1 {
height: 80px;
width: 800px;
position: fixed;
top: 0px;
z-index: 10;
}
#row-2 {
height: 36px;
width: 800px;
position: fixed;
top: 80px;
z-index: 20;
}
#row-3 {
height: auto;
width: 800px;
top: 140px;
position: relative;
}
#row3col1 {
float: left;
height: auto;
width: 150px;
}
#row3col2 {
float: left;
height: auto;
width: 500px;
}
#row3col3 {
float: left;
height: auto;
width: 150px;
}
#row-4 {
clear: both;
height: 25px;
width: 800px;
position: relative;
}
Vraag: Waarom komt in webbrowser de tekst van row-4 toch over de tekst van row-3 te staan? (Ik heb toch clear:both gebruikt?)
Vraag: Met bovenstaande code geeft DW wysiwyg-view een stuk met witregels weer tussen row-2 en row-3. Is dat logisch? Is het te vermijden?
Ik heb 2 DIV's (header en navbar) vast bovenaan de pagina.
Daaronder 3 kolommen content.
Daaronder footer.
structuur:
wrapper
row-1
row-2
row-3
row3col1 row3col2 row3col3
row-4
CSS:
#wrapper {
width: 800px;
margin-right: auto;
margin-left: auto;
}
#row-1 {
height: 80px;
width: 800px;
position: fixed;
top: 0px;
z-index: 10;
}
#row-2 {
height: 36px;
width: 800px;
position: fixed;
top: 80px;
z-index: 20;
}
#row-3 {
height: auto;
width: 800px;
top: 140px;
position: relative;
}
#row3col1 {
float: left;
height: auto;
width: 150px;
}
#row3col2 {
float: left;
height: auto;
width: 500px;
}
#row3col3 {
float: left;
height: auto;
width: 150px;
}
#row-4 {
clear: both;
height: 25px;
width: 800px;
position: relative;
}
Vraag: Waarom komt in webbrowser de tekst van row-4 toch over de tekst van row-3 te staan? (Ik heb toch clear:both gebruikt?)
Vraag: Met bovenstaande code geeft DW wysiwyg-view een stuk met witregels weer tussen row-2 en row-3. Is dat logisch? Is het te vermijden?