0
how to center option tag using CSS ?
any one help
6 Answers
+ 2
<style>
select {
width: 100px;
color: red;
text-align: center;
}
</style>
Good Luck
+ 1
thanks
+ 1
Hope this link helps you
https://code.sololearn.com/W7cKSBYL1j89
0
what is select in above code
0
Select tag
<select name="cars" id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
0
are mere bhai ese option ko page ke center me Lana hai