Justify My Text

Discussion in 'CSS' started by Matt Jo, Aug 15, 2011.

  1. #1
    Matt Jo, Aug 15, 2011 IP
  2. Bapinder

    Bapinder Well-Known Member

    Messages:
    151
    Likes Received:
    7
    Best Answers:
    3
    Trophy Points:
    120
    #2
    To justify your text use: text-align: justify;
    You can put that code anywhere. If you want to justify everything put it in the body (CSS) like so: body{font-family:Arial, Helvetica, sans-serif;background:#D1D9DD;width:100%;display:table; text-align: justify;}

    It's up to you if you want to justify the text.
     
    Bapinder, Aug 16, 2011 IP
    igloodesigns likes this.
  3. Toycel

    Toycel Peon

    Messages:
    243
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    0
    #3
    There are no pros or cons that would come from this, as with text-align: left/right it is whatever you feel looks better on your site, We can only guide you but at the end of the day it's your site and you should do things as you want not others.
     
    Toycel, Aug 16, 2011 IP
  4. edwardsjanet

    edwardsjanet Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    text-align: justify; place this in your body section of the css file
     
    edwardsjanet, Aug 19, 2011 IP