Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Hiding/custom scrollbar...

Options
  • 06-02-2003 9:54pm
    #1
    Registered Users 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 Posts: 660 ✭✭✭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 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 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