This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 120
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: 120
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: 60785
    
  65

I concur with Eric. Leave the scrollbars be.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: Customised scroll bar within Div tag?
 
Similar Threads
Combining css margin and table width in percentages
DIV tag for vertical scrollbar causing blank space at the top of the DIV
Table with Scrollbar
how to get scrollbar events
Adding horizontal scroll bars to list box