aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Customised scroll bar within Div tag? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Customised scroll bar within Div tag?" Watch "Customised scroll bar within Div tag?" New topic
Author

Customised scroll bar within Div tag?

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 118
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

Joined: May 23, 2008
Posts: 118
Hi Members,

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

Regards,
Prabhu.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Jan 10, 2002
Posts: 60046
    
  65

I concur with Eric. Leave the scrollbars be.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Customised scroll bar within Div tag?
 
Similar Threads
Table with Scrollbar
Combining css margin and table width in percentages
Adding horizontal scroll bars to list box
how to get scrollbar events
DIV tag for vertical scrollbar causing blank space at the top of the DIV