The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › When the page width is used it jumps down instead of creating a horizontal overflow?
Hi.
I have content on my page in boxes.
They are displayed like this.
Box1 Box2 Box3 Box4 Box5 Box6 ....
But I want it to display like this.
And then if I add anymore it jumps down and creates a vertical overflow.
But I want it to have a horizontal scroll bar.
This is how the wrapper is in css.
#content { overflow:auto; width:100%; height:450px; }
Thanks Brad
It’s all about wrappers, inline blocks and white-space.
See: http://jsfiddle.net/Paulie_D/ah2zM/
The site is down?
Go onto it but is there anyway without using white-space: nowrap; as I had that before but it messes up my p tag so any other way.
No…that’s what makes it work.
Just update the css of your p tags to re-set the white space. Simples.