Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to Left Justify Part of a php Page?

Contributor ,
Dec 09, 2016 Dec 09, 2016

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

709
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 09, 2016 Dec 09, 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;

}

Translate
LEGEND ,
Dec 09, 2016 Dec 09, 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;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 10, 2016 Dec 10, 2016

How do I delete this discussion?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 12, 2016 Dec 12, 2016
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines