How do you change a div scrollbar?
-
on yelle's website (yelle.fr), there is a regular page scroll bar and a scrollbar for a div with news in it. this div scrollbar is a different color than the page scrollbar and i was wondering how to do that. visit yelle.fr to see what i'm talking about. i also have a picture: http://i32.tinypic.com/9qahqb.png notice how the page scrollbar is still default. another example, a more flashy example, is the zipper scrollbar at icarly.com. go to the website to see what i'm talking about. SO HOW DO I DO THIS? (:
-
Answer:
In your HTML document: <div class="coolscrollbar">Div with different scrollbar</div> In your stylesheet: div.coolscrollbar { scrollbar-arrow-color: <color>; scrollbar-3dlight-color: <color>; scrollbar-darkshadow-color: <color>; scrollbar-face-color: <color>; scrollbar-highlight-color: <color>; scrollbar-shadow-color: <color>; scrollbar-track-color: <color>; } Replace <color> with the hex code for the color you want to use. If you wanted to change the main window's scrollbar, take the code above, but modify the first line to read "body". The zipper scrollbar at icarly.com is made using flash. You can't make something like that using plain HTML/CSS.
sixsaiso... at Yahoo! Answers Visit the source
Related Q & A:
- How can I change a value in an array?Best solution by Stack Overflow
- How do I change a belt on a GE Dryer?Best solution by Yahoo! Answers
- How do you change a video to a picture?Best solution by Yahoo! Answers
- How do you change a ford ranger key cylinder without a key?
- How do i change a document to a picture?Best solution by Answerbag.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.