+ 2

How do I centralise a text in a div in CSS

CSS

7th Aug 2017, 11:11 AM
wisdom onwusiri
wisdom onwusiri - avatar
6 Answers
+ 10
text-align: center; ?
7th Aug 2017, 11:13 AM
The Coding Sloth
The Coding Sloth - avatar
7th Aug 2017, 12:53 PM
Lord Krishna
Lord Krishna - avatar
+ 4
is there anything specific you don't understand ?
7th Aug 2017, 1:00 PM
Lord Krishna
Lord Krishna - avatar
+ 2
Yes, but it does not put d text in the middle of the div box
7th Aug 2017, 11:14 AM
wisdom onwusiri
wisdom onwusiri - avatar
+ 2
Yes but ur CSS is confusing. Pardon me, am a beginner
7th Aug 2017, 12:58 PM
wisdom onwusiri
wisdom onwusiri - avatar
- 3
if someone banned u in Google, u can use other search engines
7th Aug 2017, 11:52 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar