CSS selector to make font span entire legnth of a div

Discussion in 'HTML & Website Design' started by HighRankingSEO, Mar 22, 2010.

  1. #1
    How do I make my type span the width of the div.....so that all text is full width of the div and flush....
     
    HighRankingSEO, Mar 22, 2010 IP
  2. HellBomb

    HellBomb Active Member

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    80
    #2
    do you want the width of the div to expand with the text? if so give the div no-wrap attribute and set the div width to auto.
     
    HellBomb, Mar 22, 2010 IP
  3. ampg-it

    ampg-it Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hope this helps
     
    ampg-it, Mar 23, 2010 IP
  4. bavington

    bavington Peon

    Messages:
    74
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you talking about justifying the text? If so, use the following CSS for your Paragraphs:

    p { text-align:justify; }
     
    bavington, Mar 24, 2010 IP