yes, just like that. but mine doesn't want to play.
Here is the
HTML
<html>
<head>
<LINK REL=StyleSheet HREF=../styles/layout.css />
<title></title>
</head>
<body>
<DIV class="topcontainer">
<DIV class="menu"> menu
</DIV>
<DIV class="mainlogocontainer">
<DIV class="main"><DIV class="logo"> logo
</DIV> This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
This is enough text to make the main container overflow.This is enough text to make the main container overflow.
</DIV>
</DIV>
</DIV>
<DIV class="smallcontainer">
<DIV class="smallleft"> left
</DIV>
<DIV class="smallmid"> mid
</DIV>
<DIV class="smallright"> right
</DIV>
</DIV>
</body>
</html>
and here is the style sheet
Code:
body {font-family :arial; background-color:silver;}
.topcontainer {background-color:cyan;height:400;border-color:black;border-width:0px;padding:0px;margin:0px;position:relative;overflow:auto}
.menu {background-color:yellow;width:180px;height:100%;border-color:black;border-width:2px;float:left}
.mainlogocontainer {background-color:green; border-color:black;border-width:2px;float:left}
.logo {background-color:white;width:150;height:150;border-color:black;border-width:2px;float:right;top:0;right:0}
.main {background-color:blue;width:100%;height:400;border-color:black;border-width:2px;position:relative}
.smallcontainer {background-color:pink;width:100%;height:250;border-color:black;border-width:2px;float:left; position:relative}
.smallleft {background-color:red;width:33%;height:250;border-color:black;border-width:2px;float:left;border-width:0px;padding:0px;margin:0px}
.smallmid {background-color:orange;width:34%;height:250;border-color:black;border-width:2px;float:left;border-width:0px;padding:0px;margin:0px}
.smallright {background-color:brown;width:33%;height:250;border-color:black;border-width:2px;float:right;border-width:0px;padding:0px;margin:0px}
If you look at in in IE6 and close the window, the top retains it height and the scroll bar appears for the overflow of the main panel.
If you do the same in FF then when you squeeze the window it is OK until you hit the min-width for the menu then the main panel jumps below the menu and the scroll bar does't appear until the window is too narrow for the text.
I think the behaviour is different from the example you posted becuase of the second window wide container but I don;t know why.