Problem with ScrollBars and DIV's
Posted 18 February 2006 - 07:52 PM
I have a DIV that is resized via JS (which works fine) but when the DIV is resized to a height that is smaller than the content the scroll bars appear horizontal and vertical as shown in the image bellow.
The content box inside the DIV has the width of 100%
The problem is that i dont want the horizontal scrollbar to appear unless the width of the text inside the container is larger than the width of the resizable DIV.
Sorry it's confuzing i know... but im confused tried many ways and just cant seem to get it done!
p.s. i don't want to use the method of overflow-x:hidden;
Thank you in advance, Chris.
[img src=\"http://www.chrisdarl.be/hellppp.jpg\" border=\"0\" alt=\"IPB Image\" /]
Posted 11 March 2006 - 01:58 PM
Posted 11 March 2006 - 03:33 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users