Reputation: 23
I am using a drop down where the <option>
width seem correct in Firefox, but not in Google Chrome.
Below is the example code.
<select id="Select1" style="width:170px;" >
<option></option>
<option>how are you</option>
<option>how are youhow are you</option>
<option>how are youhow are youhow are you</option>
<option>how are youhow are youhow are youhow are you</option>
<option>how are youhow are youhow are youhow are youhow are you</option>
</select>
What I want: I want that the <option>
width to be the same in Firefox and Google Chrome.
Upvotes: 0
Views: 1571
Reputation: 2330
You can't style webkit browsers option
tag.
http://www.electrictoolbox.com/style-optgroup-option-css-chrome/
Upvotes: 1