CSS Justify Text On Page

  • Author
    Posts
  • #925785

    billymoses
    Member

    Can someone please help me with what I would need to place in CSS to have the text of a page justified.

    Thanks in advance.

    The blog I need help with is billymoses.com.

    #925909

    The following will justify all page and post text.

    .entry p {
    text-align: justify;
    }

    You will notice that there is then not enough whitespace between the right and left edges of the text and the sidebar and left edge of the white area. If you would like to give a little more white space, add the following also. You can adjust the 10px values as desired.

    .entry {
    padding-left: 10px;
    padding-right: 10px;
    }
    #925924

    billymoses
    Member

    You’re amazing. Thank you so much.

    #925927

    You are welcome and thanks.

The topic ‘CSS Justify Text On Page’ is closed to new replies.