Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2007
    Posts
    137
    Thanks
    1
    Thanked 0 Times in 0 Posts

    aligning text of select

    hi

    i want to align the text of select tag in the center by default the text of the select appears left. this is working in all browsers except for ie6 and 7 and safari

    following is my code
    #div select{
    text-align: center;
    }

    how do i get ie and safari to align the text of select in the center as with the above code the text appears left for ie6 and 7 and safari

    thanks

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    I doubt it will work. Forms are OS controls and are difficult to skin. You might want to try a solution such as niceforms.

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Posts
    137
    Thanks
    1
    Thanked 0 Times in 0 Posts
    ok then thanks.


  •  

    Posting Permissions

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