SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Nov 2009
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    On Mac, adding background-color to select's options

    Hi there,

    Here is the demo page: framethemomentshop.com/select_testing.html. Did not add "http" so people don't think I am trying to get a back link lol.

    The background color is visible on Windows (pretty much all browsers), but it is not visible on Mac, Safari in particular.

    So, you open the drop down, and on Windows you will see select's options colored with background-color property via CSS. Open the same page on Mac and you will see a totally different picture.

    Are there any solutions? I don't think there are, but who knows.

    Thanks guys!

    Alex.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,299
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    Yeah, styling select lists is not really a goer in general. (See this: http://www.456bereastreet.com/lab/st...select-single/) You can do this with JS, though: http://ryanfait.com/resources/custom...radio-buttons/ (random link found in Google).

  3. #3
    SitePoint Zealot
    Join Date
    Nov 2009
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the link Ralph (http://ryanfait.com/resources/custom...radio-buttons/). Will check it out in a bit. Anyone knows any other good tutorials to have a look at? Thanks.


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
  •