|
HTML Home
Create a Website HTML TutorialHTML Tutorial HomeAbout HTML Getting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Code GeneratorsHTML Code GeneratorHTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator Free HTML CodesHTML Background CodeHTML Comment Box Codes HTML Scroll Box Codes HTML Font Codes HTML Picture Codes HTML Marquee Code HTML Music Codes HTML Templates More Codes... HTML ReferenceHTML ExamplesComplete HTML Tag List Complete HTML 5 Tag List HTML Special Characters Hex Color Codes HTML Help FREE Hosting!With every domain name you register with ZappyHost, you get FREE hosting.$1.99 Domain NamesWith every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
Scroll Box ColorHere are copy/paste examples of HTML scroll boxes with color added. Feel free to use the code on this page for your own website. You can also change the values to suit. Background ColorThis example changes the background color of the scroll box. In HTML, you change background color using the CSS background-color property: HTML Code: Result: We have added a background color to this HTML scroll box. This is done using the CSS 'background-color' property.
Text ColorIn this example, we also change the color of the text within the scroll box (as well as the background color). Text color is changed using the CSS color property: HTML Code: Result: We have changed the color of the text inside this scroll box. We did this using the CSS 'color' property.
Scrollbar ColorIn this example, we change the color of the scroll bars. This is done using the 'scrollbar-base-color' property. Note that this won't work on all browsers. It should work on Internet Explorer version 5.5 and above, but at the time of writing, it doesn't work in Firefox. So, if you're viewing this page with Firefox, the above scrollbar won't have changed color. More about about colored scrollbars: HTML Code: Result: We have changed the color of the scroll bars of this scroll box. We did this using the CSS 'scrollbar-base-color' property.
Enjoy this website?
Oh, and thank you for supporting Quackit! |
Need Content for your Website?Get unique, quality digital content for your website. You can even earn money by reselling it!Includes:
|