praveen1981
asked on
Providing Vertical Scroll bar to html table
Hi
I want to Provide Vertical Scroll bar to the html table.
can you please suggest
I want to Provide Vertical Scroll bar to the html table.
can you please suggest
If you include your table inside a <div> tag with css style attribute overflow:auto I think that it will scroll when table grows over div's size.
To make a scroll box with a vertical scroll, you need to use overflow-y:scroll;. This tells your browser to create scroll bars on the y (vertical) axis whenever the contents of the container is too big/high. Here, we make our content too big simply by adding too much text to fit into the div. We can also make the contents too big by setting it's height to 200 percent (similar to what I did to the width of this horizontal scroll box). Therefore, we could force vertical scroll bars with minimal or no content.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This solved the problem
Open in new window
jquery.scroll.js