HOME | TABLE OF CONTENTS | | | welcome to doddyestiara.blogspot.com

Tuesday, September 14, 2010

Making Automatic Justify Text Alignment in Blogspot


According to Wikipedia, in typesetting and page layout, alignment or range, is the setting of text flow or image placement relative to a page, column (measure), table cell or tab. The type alignment setting is sometimes referred to as text alignment, text justification or type justification.

There are four basic typographic alignments:

  • flush left—the text is aligned along the left margin or gutter, also known as ragged right;
  • flush right—the text is aligned along the right margin or gutter, also known as ragged left;
  • justified—text is aligned along the left margin, and letter- and word-spacing is adjusted so that the text falls flush with both margins, also known as full justification;
  • centered—text is aligned to neither the left nor right margin; there is an even gap on each side of each line.

Some modern typesetting programs offer four justification options: left justify, right justify, center justify and full justify. These variants specify whether the last line is flushed left, flushed right, centered or fully justified (spread over the whole column width). In programs that do not offer this extra functionality, justify is equal to left justify.

By default, text in blogspot is aligned ‘flush left’, meaning that the text of a paragraph is aligned on the left-hand side with the right-hand side ragged.

To change the default text alignment in blogspot:

1. Log in to Blogspot –> Design –> Edit HTML

durian flavor edit HTML

2. In the column of Edit Template, search for lines of code of main-wrapper and add the following lines of code: 

text-align: justify;

Notes: replace the words in red to right, or center if you want it.

The lines of code will eventually become as shown below:


3. Save template. 

alignment leftalignment justify

alignment rightalignment center

Recent Posts

Related Posts Plugin for WordPress, Blogger...

No comments:

Post a Comment