+ 4
How do I align everything in the page in center??(responsive)
I need help regarding responsive alignment
4 Answers
+ 6
+ 3
you can use an old way use <center> tag (though its obsolete now).
or else use flex just like this: https://code.sololearn.com/W6jcxzycdG2l/?ref=app
+ 2
to horizontal center, use css text-align:center;
to both direction center, use css display:flex; container, and apply flex properties according to your needs ;)
+ 1
#id{
text-align:center;
}