Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Hiding/custom scrollbar...

  • 06-02-2003 09:54PM
    #1
    Registered Users, Registered Users 2 Posts: 5,538 ✭✭✭


    Is it possible to hide the horizontal scrollbar that dreamweaver automatically puts inside any layer you create?

    Also, is there any way to change the vertical one's colour/style?

    Ta...


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    RTFM PiE, check out the section on overflow.

    adam


  • Closed Accounts Posts: 62 ✭✭P3nfold


    Maybe try a cascade styling sheet to set your bars attributes to match that of your background?

    There could be a subtag to set its visibility to false but i don't know of it.. Check the world world web standards or htmlgoodies.com


  • Registered Users, Registered Users 2 Posts: 663 ✭✭✭anthonymcg


    What is it with people saying RTFM?!

    I've been using computers for 12 years and had the internet before most people even heard of it. I don't go round saying RTFM cos its damn rude.


  • Registered Users, Registered Users 2 Posts: 5,538 ✭✭✭PiE


    It's ok Anthony, I didn't take offense, neither should you :)

    Anywho, I got it all fixed, thx :]


  • Closed Accounts Posts: 115 ✭✭xlex


    Well I had a look on overflow and I came up with nothing....

    Really could do with the help on customising scrollbars


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 5,538 ✭✭✭PiE


    For custom scrollbar colours, put this in your source code:
    <Style> 
    
    <!--
    BODY {
    scrollbar-face-color: #7FB9DE;
    scrollbar-shadow-color: #7FB9DEF;
    scrollbar-highlight-color: #7FB9DE;
    scrollbar-3dlight-color: #7FB9DE;
    scrollbar-darkshadow-color: #7FB9DE;
    scrollbar-track-color: #C3F1FF;
    scrollbar-arrow-color: #FFFFFF; 
    }
    --> 
    
    </style>
    

    Change the colours to whatever suits.

    I removed the scrollbars altogether with a CSS style:
    .forms {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #000000;
    	border: 1px solid #3289B4;
    	background-color: #DCEDF5;
    	overflow-y: hidden; 
    	overflow-x: auto;
    }
    

    Did the job nicely :]

    Oh and make sure you have IE5.5 or higher, earlier versions don't support it apparently.


Advertisement