'float'ing format [Closed]
Picture this:
Code:
body
{
width:400px;
height:600px
}
left
{width:100px
height:200px
}
header
{
width:300px
height:200px
float:right
}
(#left is now positioned upper left corner and #header is floating to the right of #left side by side)
now when this is added...
Code:
main
{
width:300px
height:200px
}
Why does #main end up overlapping #header? Unless otherwise specified via "Positioning", the #main should keep its place under header shouldn't it? Unless 'float' causes #header to become 'absolute' but that doesn't make any sense...
Re: 'float'ing format [Closed]