Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Ann
    Ann is offline
    New to the CF scene
    Join Date
    Sep 2002
    Location
    Sweden
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Colored pulldown boxes - Is it possible?

    Is it possible to color pulldown boxes, like you color scrollbars? I'm currently re-designing my whole website and I would like to have my pulldown boxes colored just like the scrollbar is, but I wasn't sure if it's even possible...

    Incase I explained badly, take a look at the attached picture. The arrow is pointing to what I want to have colored.

    Thanks for reading
    Attached Thumbnails Attached Thumbnails Colored pulldown boxes - Is it possible?-screenshot.gif  

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Try

    .input{
    scrollbar-base-color: #9999CC;
    scrollbar-arrow-color: white;
    scrollbar-track-color: #CCCCFF;

    scrollbar-shadow-color: black;
    scrollbar-lightshadow-color: black;
    scrollbar-darkshadow-color: gray;

    scrollbar-highlight-color: white;
    scrollbar-3dlight-color: black;
    }

    I can't try it myself as I don't have IE5.5+

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    UK
    Posts
    577
    Thanks
    0
    Thanked 0 Times in 0 Posts
    With select lists - as far as I've found, you can only change the font-colour, font-weight, font-size, font-family and background colour. You cannot change the scrollbar colours or the hover colour.

    example:
    <select style="background-color:#000; font-weight:700; font-size:18px; color:#F0F; font-family:Lucida Console">

    Or as nightfire aluded toward
    select {background-color:#000; font-weight:700; font-size:18px; color:#F0F; font-family:Lucida Console}
    in style declares should do.
    Ökii - formerly pootergeist
    teckis - take your time and it'll save you time.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •