SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Selection menu help!

    How can i use button image instead of classic selection menu with one arrow?

    I can't use it as background because i still have that box with one arrow, i need it to be button with drop down menu.

    Please, any suggestions?

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,296
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    HI,

    You can't really style the select in a cross browser way so you will need to resort to some js trickery to swap the element out for something that can be styled. Here is one example.

    You can do some limited things with css but the results aren't that good in all browsers as IE always covers the image with a blue highllight when a selected item is chosen.

    The best thing for selects is to leave them alone

  3. #3
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh thank you, that helped


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
  •