padding is not used in ie7

Posted by Salil on Stack Overflow See other posts from Stack Overflow or by Salil
Published on 2010-06-01T06:24:16Z Indexed on 2010/06/01 6:53 UTC
Read the original article Hit count: 184

Filed under:
|
|
|

Hi All,

I used a padding in select list of gender but its not working in ie7. its working properly in all browser ie8, firefox, safari but not working in iee7 i tried a lot but nothing happened...

<div class="clear" style="margin-top:5px; float:left; text-align:right">
                          <% @sex = [['male', '0'],['female', '1'], ['others', '2']] %> 
                          <%= select_tag :sex,
options_for_select(@sex), :style=>"padding-left:15px; width:100px;
height:30px;padding-left:15px;vertical-align:middle;" %>
</div>

Thanks Mayur Mate

© Stack Overflow or respective owner

Related posts about html

Related posts about css