• Archives

  • Specify the white space between words

    By admin | February 8, 2008

    This tutorial is going to teach you how to specify the white space between the words sometimes it becomes important to do or else you can learn it for the sake of learning.

    Html file

    <html>

    <head>

    <link rel=”stylesheet” href=”style.css” />

    </head>

    <body>

    <p>This is a sample text of which white spaces will be controlled by css.</p>

    </body>

    </html>

     Style

    p
    {
    word-spacing: 25px
    }

    Now if you rum the html file see the word spacing it will be more than it’s usual

    Thanks

    krates

    Topics: CSS | Comments Off on Specify the white space between words

    Related Links: