Home › Forums › CSS › RE: Text not centered in Div Cell › Reply To: RE: Text not centered in Div Cell
March 20, 2017 at 11:58 am
#252970
Mottie
Member
@motion2082 Have you see this article? https://css-tricks.com/centering-in-the-unknown/
Newer methods use flexbox:
http://codepen.io/Mottie/pen/GWQQeL
div {
display: flex;
height: 100%;
align-items: center;
justify-content: center;
}