Answers for "how to align text in center of div using css"

1

center text inside a div

text-align: center;
vertical-align: middle;
line-height: 90px;       /* The same as your div height */
Posted by: Guest on June-23-2021
7

center text in div container

text-align: center
Posted by: Guest on June-01-2020

Code answers related to "how to align text in center of div using css"

Browse Popular Code Answers by Language