Answers for "center text inside of select box"

CSS
0

how to do text center of select element

select {
  text-align: center;
  text-align-last: center;
  /* webkit*/
}
option {
  text-align: left;
  /* reset to left*/
}
Posted by: Guest on May-15-2021

Browse Popular Code Answers by Language