• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

scroll bar next to a TABLE

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a TABLE in my html page. Can I add a scrollbar next to this TABLE. This particular scroll bar shud be dedicated only to the TABLE. Not to any other thing on the page.
 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
put that table in div and make the overflow attribute true in style.

Thanks
kundan
 
DHANANJAY DHANANJAY
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi kundan thanks for the reply

Am new to scripting. Cud u please explain this in a bit detail

Thanks
Dhananjay
 
kundan varma
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dhananjay you can do like this copy this code and run
<div id="tablediv" style="overflow:auto;height:60">
<table>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
<tr>ffff</tr>
</table>
</div>

thanks
kundan
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic