style Select Box!

Discussion in 'JavaScript' started by Dangy, Feb 25, 2010.

  1. #1
    I need to have a select box styled.

    Sample code:
    <select name="select" id="select">
    <option value="general">General Question</option>
    <option value="develop">Develop Deparment</option>
    <option value="hosting">Hosting Department</option>
    <option value="store">Store Department</option>
    <option value="billing">Billing Department</option>
    </select>
    Code (markup):
    What I want to look like?

    [​IMG]

    Something like this, but the drop down overlays the other layers. Also this has to work with php with values! I have a working version of this, just doesnt work with php.
     
    Dangy, Feb 25, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    You have to do it using background images.
     
    s_ruben, Feb 26, 2010 IP
  3. Dangy

    Dangy Well-Known Member

    Messages:
    841
    Likes Received:
    25
    Best Answers:
    2
    Trophy Points:
    155
    #3
    I have am using background images, you need javascript to make it cross-browser. I have a working version of this already but its not letting me use php properly with the drop box.
     
    Dangy, Feb 28, 2010 IP