+ 2

"center" or "middle" alignment?

What is the difference between "center" and "middle" alignment? When should one be used as opposed to the other?

14th Feb 2019, 10:06 PM
đŸ‘©đŸœâ€đŸ’»TalCre Arts
đŸ‘©đŸœâ€đŸ’»TalCre Arts - avatar
2 Answers
+ 13
center is for text-align, middle is for vertical-align (assuming CSS)
14th Feb 2019, 10:17 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
Center is for aligning in horizontal plane while middle is used for aligning in vertical plane.
15th Feb 2019, 12:51 AM
Arushi Singhania
Arushi Singhania - avatar