Jul 25, 2008

Scrollbar

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Scrollbar

djleli
to change the colour of the scrollbar just change the html colour coding
CODE

Add to the <HEAD> of your page.

<style>
<!--
BODY{
scrollbar-face-color:#75EA00;
scrollbar-arrow-color:brown;
scrollbar-track-color:#EEEEEE;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-Color:'';
}
-->
</style>

Reply

SilverBoarder
Thats accually not HTML at all its CSS or Cascading Style Sheets.
CSS Allows the web builder to add specifications to thier HTML Document.

Go here to find out more about it: W3C Schools

Reply

loc
You can actually define the background color for the scrollbar in your marquee tag.
Here is an example.
<marquee bgcolor=000000> Hello </marquee> (black background)
Its simpler than using styles.

Reply

Bash
i made a topic about these before, about a css scrollbar generator (makes it easier than playing around with the code yourself):

http://www.trap17.com/forums/index.php?showtopic=710

Reply

Gamesquare
QUOTE(loc @ Aug 12 2004, 02:19 AM)
You can actually define the background color for the scrollbar in your marquee tag.
Here is an example.
<marquee bgcolor=000000> Hello </marquee> (black background)
Its simpler than using styles.

That's the background of a marquee, not the scrollbars.

Reply

loc
Oh, I thought you guys were talking about text scrolling bars. Hence, Marquee. In that case, here is a code using CSS... it's the simplest way. Insert this into the head of your website, and fill in the colors appropriately for your website:

<style type="text/css">
<!--
BODY{scrollbar-3d-light-color:000000;
scrollbar-arrow-color:000000;
scrollbar-base-color:000000;
scrollbar-dark-shadow-color:000000;
scrollbar-face-color:000000;
scrollbar-highlight-color:000000;
scrollbar-shadow-color:000000;}
-->
</style>

Reply

zip_mc
i was told that u can put that into your html code aswell... but i never tired using it.. i jsut went with CSS

Reply

Kovi
Be wary of using it, though. I'm not entirely sure that changing the scrollbar is a W3C standard, as it put up errors when I tried to validate CSS that used it. While I think it looks nice done properly, just be careful. Also, if it is valid, could someone give me a link to the W3C page that says so? I can't seem to find it in their list of valid CSS tags.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : scrollbar

  1. Css Scroll Bar Styles
    Change the color of your website scrollbar! (1)
  2. Css Layout: Trouble With Ie
    the scrollbar and margin-bottom (4)
    I have a site which I'm developping and trying to get a frames-like layout design. But IE does
    not propperly show the scrollbox, its hidden behind the fixed divs of the top header and the bottom
    footer... Firefox does alright, so If you dont understand what I mean you can check it out here:
    http://web.cucea.udg.mx/ineser/alap/test.php Seems like Opera and Safari are doing also good...
    And also, the margin of #content (which is the main content area) is not working, becouse it does
    not go up above the footer, I don't know what is going on (that rule is ins....
  3. Left And Top Scrollbar?
    (14)
    I know it sounds weird but I actually want scrollbars all around the screen. Left, right, top,
    bottom. Is that possible to do?....
  4. Css Trick: Hide Disabled Internet Explorer Vertical Scrollbar
    (18)
    I'm working on a website and a few minutes ago I got very tired from the Internet Explorer
    vertical scrollbar. This vertical scrollbar is always there, even if the length of the page does not
    require a vertical scrollbar. In this case, Internet Explorer will disable the scrollbar though not
    remove it. In my opinion this would be correct behaviour. The disabled however not hidden scrollbar
    means that a switch between a preview of your website in Mozilla Firefox and MS Internet Explorer
    will lead to an annoying change of the location of your layout. To disable this an....
  5. Scrollbar On The Left
    is it possible?? (5)
    Hello all, I would like to know if it is possible to place the scrollbar on the left side of my
    page instead of the right side?? And if so, what is the code for this? (eg scroll="left" or
    something like that?) I hope this is possible and thanx in advance.....
  6. Free: Css - Style Sheet Editors And
    CSS Scrollbar Makers (7)
    CSS - Style Sheet Editors : Ranfo Cascading Style Sheet Editor http://ranfo.com/csseditor.htm
    EclipseStyle http://www.greeneclipsesoftware.com/eclipsestyle.htm BHead - Meta Tags & CSS
    Generator http://home5.swipnet.se/~w-52253/hyper/pro...ead/bhsetup.exe CSS Style Generator
    http://www.10002.org/download/CSSStyleGen.zip Balthisar Cascade
    http://www.balthisar.com/site/index.php CSS Scrollbar Makers: Scrollbar Skinner
    http://www.survivorx.com/telechargement/Sc...%20Skinner2.zip ScrollBar
    http://home.hccnet.nl/s.j.francke/software...ollbarsetu....
  7. CSS Scrollbar Generator
    (7)
    here's a pretty cool web page that has a scrollbar generator for your website, so that you wont
    have to waste time figuring out the codes yourself
    http://www.scriptomizers.com/css/scrollbar_coloring ....

    1. Looking for scrollbar

Searching Video's for scrollbar
advertisement



Scrollbar



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE