IE7 alignment issue with CSS

Discussion in 'CSS' started by andreyp, Feb 8, 2011.

  1. #1
    Hi All,

    I have aligned my DOB fields with CSS margin attribute, they look ok across all browsers except IE7 - they are all out of alignment there. I can't seem to fix it.

    Are you able to have a quick look and point me in the right direction?



    I've attached IE7 screenshot

    Thanks ie7.jpg
     
    Last edited: Feb 8, 2011
    andreyp, Feb 8, 2011 IP
  2. manishsankari

    manishsankari Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    add this to your styles.css : -

    form#quote-all select#dob{
    width:auto;
    float:left;
    margin-right:5px;
    margin-left:-24px;
    }
     
    manishsankari, Feb 8, 2011 IP
  3. andreyp

    andreyp Member

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Thank you, it worked!
     
    andreyp, Feb 9, 2011 IP