Grow your CSS skills. Land your dream job.

Aligning select box options to the right – in Safari

  • # October 30, 2008 at 6:48 pm

    Hi all,

    How do I align select box options to the right – in Safari.
    these won’t do:

    select {direction:rtl;text-align:right;}
    select option {direction:rtl;text-align:right;}

    Any idea?
    Thanks

    # October 30, 2008 at 10:47 pm

    Hm that’s pretty weird! Text-align: right; on the select element doesn’t work? Do you happen to have a live link showing that?

    # November 27, 2009 at 11:39 am

    I too have this problem with Safari 3.1.2.
    But not with FF or Opera.
    My option tags populate a select tag.
    The picklist does not respect the
    CSS align-right statement.

    Any workarounds?

    # November 27, 2009 at 9:54 pm

    ouch. Sounds like Safari just isn’t going to do it. How about you, ruffy: Do you have a link to send us?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".