Re: CSS div problem - widths and scrolling
I'm not an expert by any means but have come across the very problem you're encountering but on a 3 column layout.
what you need to look up is css overflow property for the column div and perhaps add a white-space property to text elements. white-space: nowrap
belows is how I did my far right column. If I recall I had to make it a percentage as a fixed pixel width wrapped every time. I tested this with IE, FF, Opera and Safari. If you were to set say, overflow: auto you'd get the scroll bars I believe.
/* rightcol css */
.rightcol {
float: right;
width: 14%;
padding: 0;
margin: 0 2% 1% 0;
background-color: #fff;
overflow: hidden;
}
|