tags:

views:

118

answers:

1

Hi All

I used a padding-left in selet list

<select style="padding-left:15px">
<option>male></option>
<option>female></option>
</select>

its working fine in FF but not in safari and ie

Then I have tried a text-indent in it

<select style="width:258px;text-indent:15px;">
<option>male></option>
<option>female></option>
</select>

Now its working fine in Safari and ie but its not working in FF, Please tell me is there any method which i can used to work it properly in all browser

Thanks

A: 

Might not seem the best solution, but put &nbsp; as much as you want before the option values.

<select>
<option>&nbsp;&nbsp; male></option>
<option>&nbsp;&nbsp; female></option>
</select>
SiN