+ 1

How to centralize a text in a div by css?

12th Feb 2020, 5:22 PM
Rajat Kushwaha
Rajat Kushwaha - avatar
2 odpowiedzi
+ 2
you can centralize in div by this css code: #div{ position:absolute; left:0; right:0; margin-left:auto; margin-right:auto; }
12th Feb 2020, 5:32 PM
Abdolazim Rahmanpoor
Abdolazim Rahmanpoor - avatar
+ 1
Use text-align : center;
12th Feb 2020, 7:34 PM
A͢J
A͢J - avatar