Does anyone know if it's possible to align text to the right of a <select>
or more specifically <option>
element in WebKit. This does not need to be a cross-browser solution including IE, but should be pure CSS if it is possible.
I have tried both:
select { text-align: right }
and option { text-align: right }
, but neither seems to have worked in WebKit (either Chrome, Safari or Mobile Safari.
Any help gratefully received!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…