By jeanmichel-1 on
Drupal 4.7.3
theme channel_nine dramatically modified (kept the 4 columns, though)
Is there anybody who could help me to resize my div #center box to , lets say height: 500px; width: 100%; and add a scroll bar only on this div #center box.
When i add this code to my css stylesheet, it resizes the body allright but all the data that would have made the box stretch down is being cropped off accordingly to the resize values.
I guess this is a quite simple hack since i already know the code to create that sroll bar. I just havent found the right place to insert it yet.
Thanks for the help
Comments
overflow: auto or scroll
you could try to set the css property overflow to auto or scroll. The first is intended to show the scrollbar only when necessary, the second allways shows it.
lil problem remains: this will also create a horizontal scrollbar if there is for example a large image or some other broad block content.