Skip to main content
Inspiring
December 9, 2016
Answered

How to Left Justify Part of a php Page?

  • December 9, 2016
  • 1 reply
  • 713 views

Most of my website is centered, but I want to left justify just the middle text of one php page. It's a series of testimonials. I selected the text and in the CSS Properties panel I chose Left-Justify. In Dreamweaver it looked Left-Justified. Then I saved it and also had to save the boilerplate.css. After uploading both files, the text remained centered online. Here is the link:

Testimonials

    This topic has been closed for replies.
    Correct answer osgood_

    Never heard of left-justify css. (although I have never justified text as I dont like the uniform look or the different spacing between the words, personally I'd rather leave it as ragged.

    If I had to justify for some reason I'd use:

    Left justify:

    #text1 {

    text-align: justify;

    }

    Right justify:

    #text1 {

    text-align: justify;

    text-align-last: right;

    }

    1 reply

    osgood_Correct answer
    Legend
    December 10, 2016

    Never heard of left-justify css. (although I have never justified text as I dont like the uniform look or the different spacing between the words, personally I'd rather leave it as ragged.

    If I had to justify for some reason I'd use:

    Left justify:

    #text1 {

    text-align: justify;

    }

    Right justify:

    #text1 {

    text-align: justify;

    text-align-last: right;

    }

    Inspiring
    December 10, 2016

    How do I delete this discussion?

    Preran
    Community Manager
    Community Manager
    December 12, 2016

    Why do you want to delete this discussion? Your question has been answered, and will benefit other users with a similar question.