Saturday, September 3, 2016

Alignments

  • Alignment is defined as parts of something that are in the proper position relative to the each other.
  • In computer, alignment means placement of an element relative to the margin.
  • Adjustment of text or image to a line.
Not aligned properly                                                                  Aligned properly

Types of Alignments :

    1.Horizontal alignment.
    2.Vertical alignment .  
    1.Horizontal Alignments :
  • Aligning text or Image either left,center or right.


       Left Align : 
  • Left align means all lines starts from the same distance from left margin and ends at different distances from right margin.
       Right Align:
  • Right align means all lines starts from the different distance from left margin and ends at same distances from right margin.
      Justify:
  • Justify means all lines starts from the same distance from left margin and ends at same distances from right margin.


 2.Vertical Alignments :

  • Vertical align means aligning the text or image top,center,right.


     Top Align :
  • Top align means aligning the data top to the margin.
     Middle Align :
  • Middle align means aligning the text or image center of the margin.
     Bottom Align :
  • Bottom Align means aligning the text or image bottom to the margin.

Advantages of Alignment :

  • Visually looking good.
  • Easy to read.
  • Less stress on Eyes.

Examples :