Thread: CSS and combo

    #1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Yerevan, Armenia
    Posts
    224
    Rep Power
    12

    CSS and combo


    Hi,

    Is there a way to use CSS to alter the combo box button style,
    e.g. change color or smth.

    Thanks for any help,
    -Nar
  2. #2
  3. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Oct 2001
    Location
    New Zealand
    Posts
    1,774
    Rep Power
    24
    Not really, but if you look at:

    http://forums.devshed.com/t54932/s.html

    You can see another way to do it.
  4. #3
  5. Midnight Rider
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Quebec, Canada
    Posts
    58
    Rep Power
    12
    Not sure if this is what you mean, but you can just have a CSS class like so
    .combo {enter your fonts, colors, etc here}

    and when you display it, you go <select name="whatever" class="combo">
    and in most browsers it'll take the colors and fonts you gave in the CSS.
    Encyclopaedia Metallum: The Metal Archives - the Ultimate Heavy Metal Archives! If it's not there, add it yourself.

IMN logo majestic logo threadwatch logo seochat tools logo