CSS Knowledge

  • What is CSS
  • External CSS

  • CSS Table
  • CSS span
  • CSS a
  • CSS input
  • CSS HR
  • CSS align
  • CSS LI
  • CSS ul
  • CSS width
  • CSS overflow
  • CSS justify
  • Css Two Column
  • Css blockquote

  • CSS flash
  • More others

    Javascript
    CSS
    PHP

     

    CSS justify


    Css justify

    To justify text you'll have to use the style text-align with the attribute justify .
    You can accomplish this in the HTML tag:
    <div style="text-align:justify">.. your text here </div>
    You can also create an entry in the heading of your page or in a separate CSS file:

    <style type="text/css">
    DIV.block {text-align:justify}
    ... your other stiles here
    </style>

    With this code you create a class block that can be used by the tag <div>
    <div class="block">.. your text here </div> will have the same effect as <div style="text-align:justify">.. your text here </div>

     





















     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  • Javascript |