Anyone help with text alignment in CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone help with text alignment in CSS?

I cant get my text to center using the text-align: center; its in h3 and only moves about 2 inches in any direction when I change the position

3rd Jan 2019, 4:29 PM
Colton Samborn
3 Answers
0
That's possible, maybe change it from an h3 to a p class?
3rd Jan 2019, 4:52 PM
Colton Samborn
0
Try with this in the CSS part of your code. Otherwise please add the code with your question. h3{ text-align: center; }
3rd Jan 2019, 5:04 PM
AL Araf
AL Araf - avatar
0
I got it, the text was in the div class so it was included in a dropdown thanks for the help
3rd Jan 2019, 5:50 PM
Colton Samborn