+ 5
Can anyone explain how come the text is not aligned in the center?
3 Antworten
+ 21
+ 6
Elizabeth👩💻 forgetting the equal sign is something I over looked. Thank you
+ 1
What I would do to center this is give the p tag an id or a class. Let's say I give it an id attribute:
<p id='center'> within cells </p>
Then, in a CSS file, I would target this id and then apply centering to it:
#center {
text-align: center;
}
That code will horizontally center your text.
Hope that helps!