facebook

Centet text in HTML box: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #332563 Reply

    trushar100
    Member

    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>

    #332566 Reply

    Hi Trushar,

    What about change:

    <p class=”center”>
    am<sup>2</sup> + am + a = 4m<sup>2</sup> + 4m + 4 = 4(m<sup>2</sup> + m + 1).
    </p><br>

    for

    <p align=”center”>
    am<sup>2</sup> + am + a = 4m<sup>2</sup> + 4m + 4 = 4(m<sup>2</sup> + m + 1).
    </p><br>

    #332585 Reply

    trushar100
    Member

    Rock on…

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Centet text in HTML box: CLOSED

You must be logged in to post in the forum log in