Hi,
I can’t see to center text in the HTML box.
I have paragraphs of text justified in the box, but I want some text in between the justified paragraphs to be centered.
I use the code <p class=”center”>, but it does nothing – it keeps the text justified! I do end the justified tag before it by using the </p> tag.
How can I get the text center even though the bulk of the text is justified?
Example of the code I am trying to use:
”
<p align=”justify”>
<b>* Algebraic solution:</b> We substitute 4 in for a, and then factor.
<br></p>
<p class=”center”>
am<sup>2</sup> + am + a = 4m<sup>2</sup> + 4m + 4 = 4(m<sup>2</sup> + m + 1).
</p><br>
<p align=”justify”>
<b>Solution by picking numbers:</b> Let’s choose a value for m, say m = 2. Then the expression becomes 4(2)<sup>2</sup> + 4(2) + 4 = 4(4) + 8 + 4 = 16 + 8 + 4 = 28.
<br><br>
“