+ 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?
2 odpowiedzi
+ 5
Like this?
HTML Code:
<p class="className">I'm a text</p>
CSS Code:
.className {
text-align: center;
}
+ 9
oh ok Thanks!
This community really is helpful!