Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customised scroll bar within Div tag?

 
prabhu pandurangan
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Members,

Im painting a HTML table within a Div tag,


Im using StyleSheet property to have scrollbar,


But the scroll bar looks so odd in the middle of application, so i need to customize it, i need the scrollbar width shoule be reduced...

Please help me in this....

Looking forward for your reply...

Need some sample code for this issue...

Regards,
Prabhu.
[ August 11, 2008: Message edited by: Bear Bibeault ]
 
prabhu pandurangan
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Members,

The customized code should be working in both Firefox 2.0 and IE7.

Regards,
Prabhu.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well if you want to not have a regular scrollbar, you would have to google for Custom Scrollbar JavaScript. There are plenty of scripts out there, but I think most people just live with normal scrollbars in the page since they are more user friendly and reliable.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65105
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I concur with Eric. Leave the scrollbars be.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic