hi...does anybody knows how can i style a scrollbar in a div with css??
only the scrollbar, not the content
thanks anyway..
hi...does anybody knows how can i style a scrollbar in a div with css??
only the scrollbar, not the content
thanks anyway..
Last edited by tpravioti; 02-03-2010 at 10:34 AM.
This works in IE but wont show on FF (apparently this is a MS feature only):
Though those colours are ghastlyCode:scrollbar-3dlight-color:#ffd700; scrollbar-arrow-color:#ff0; scrollbar-base-color:#ff6347; scrollbar-darkshadow-color:#ffa500; scrollbar-face-color:#008080; scrollbar-highlight-color:#ff69b4; scrollbar-shadow-color:#f0f![]()
Last edited by Aravona; 02-03-2010 at 11:11 AM.
i know this code:
i find it everywhere but i want to have a coloured scrollbar that works in all browsers and not only in IE..Code:scrollbar-3dlight-color:#ffd700; scrollbar-arrow-color:#ff0; scrollbar-base-color:#ff6347; scrollbar-darkshadow-color:#ffa500; scrollbar-face-color:#008080; scrollbar-highlight-color:#ff69b4; scrollbar-shadow-color:#f0f
any other ideas??
Yeah, create your own browser that supports itThey just don't have that feature across all browsers. Period.
There is no reason to not style the scrollbars because if it doesn't work they will just be normal. But IE is the only browser that supports it, so about 50% of your guests will not see anything-- it's a waste of time if anything, but not a real issue.
There is no way to style real scrollbars unless the browser supports it. Because of that, you could TRY to make your own scrollbars by creating divs with dragable elements, etc., but that sounds like a terrible (and complex) idea. Alternatively, don't use scrollbars: use another method like scroll buttons.
As has been said by others, the short answer to your question is no, it cannot be done.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Custom Scrollbars are just annoying. Don't make one.
Bookmarks