Answers for "how to do text center of select element"

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

Code answers related to "how to do text center of select element"

Browse Popular Code Answers by Language