Loose the float:left on each month div, just keep the display inline. Having both defeats the purpose of either.
Then in your containers style set white-space to nowrap, and overflow-x to scroll.
That should make the divs continue on, and the container will scroll as it needs to.
Tested in FF, Chrome, and IE.
Code:
#container {
overflow-x:scroll;
white-space:nowrap;
font-family:verdana,arial,helvetica,geneva,sans-serif;
background-color:#EEEEFF;
font-size:8pt;
color:#333333;
}
.month {
display:inline;
background-color:#EEEEFF;
}
Though if you are going to make the divs inline, then maybe spans which are already inline elements may be a better choice.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Behind the Web, Tips and Tricks for Web Development.