SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Drop Down Menus

  1. #1
    SitePoint Member hsfournier's Avatar
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop Down Menus

    Is it possible to use CSS to specify the colour and style of a drop down menu box. I can do this with my input buttons, but I can't seem to figure it out for menus.

    Here is what I have, I would like it to match the style of the input button below. Is it possible?

    SELECT {
    color : Navy;
    font-family : Arial;
    font-size : 11px;
    font-weight : bold;
    background-color : #FFF4AA;
    }

    MENU {
    color : Navy;
    font-family : Arial;
    font-size : 11px;
    font-weight : bold;
    background-color : #FFF4AA;
    }

    INPUT {
    background-color : #FFF4AA;
    font-family : Arial;
    font-size : 12 px;
    font-weight : bold;
    border : 1px solid Navy;
    color : Navy;
    Heidi Fournier

  2. #2
    Captain Internet neil's Avatar
    Join Date
    Jun 2001
    Location
    n.ireland
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    .menu {
    color : Navy;
    font-family : Arial;
    font-size : 11px;
    font-weight : bold;
    background-color : #FFF4AA;
    }

    <select>
    <option class="menu"> Content </option>
    </select>


    Try that, it should work

  3. #3
    Victory shall be mine tubedogg's Avatar
    Join Date
    Mar 2001
    Location
    Medina, OH
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you mean the little down arrow on the drop-down menu (and the grey button behind it), then no.
    Kevin


Bookmarks

Posting Permissions

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