Use JavaScript to change the color of the textarea scroll bars and buttons, and how to make the scroll bar flat _ form effects

Source: Internet
Author: User
How can I change the color of the textarea scroll bar and button, and how to make the scroll bar flatten rather than highlight
Thank you, I don't have much.
1 floor
<textarea style= "Scrollbar-face-color: #ffffff;
Scrollbar-highlight-color: #e7dbbd;
Scrollbar-shadow-color: #d9c69f;
Scrollbar-3dlight-color: #99cc99;
Scrollbar-arrow-color: #ffffff;
Scrollbar-track-color: #ffffff;
Scrollbar-darkshadow-color: #99cc99;
Scrollbar-base-color: #ffffff "cols=16 rows=4>
Fghdfgsertdfgdj
G;werosdfyhdfg
Ertgdfgsdfw
Dtyftghdfgowu
Ertty</textarea>
Available under XP. 2000 can't do it.
2 floor
Above code needs IE5.5 above
3 floor
For example: <textarea style= "scrollbar-base-color:red" rows= "7" cols= "></textarea>"
Scrollbar-3d-light-color the color of the solid scroll bar bright Edge
Scrollbar-arrow-color the color of the triangle arrow on the top and bottom buttons
Scrollbar-base-color the basic color of the scroll bar
Scrollbar-dark-shadow-color three-dimensional scroll bar strong shadow Color
Scrollbar-face-color the color of the protruding part of the solid scroll bar
Scrollbar-highlight-color the color of the blank part of the scroll bar
Scrollbar-shadow-color the color of the shadow of a stereo scroll bar
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.