+ 8

Help me with aligning

So lets say i want to align a paragraph with a class. How do i do that? If i cant how can i do it in CSS?

29th Apr 2017, 9:57 PM
Krieg7
Krieg7 - avatar
2 Answers
+ 5
Like this? HTML Code: <p class="className">I'm a text</p> CSS Code:  .className {     text-align: center; }
29th Apr 2017, 10:22 PM
Thomas Hj
Thomas Hj - avatar
+ 9
oh ok Thanks! This community really is helpful!
29th Apr 2017, 10:43 PM
Krieg7
Krieg7 - avatar