• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic