Wednesday, 15 August 2012

css white space,word spacing,letter spacing property tutorial


Introduction of Css white space,word spacing,letter spacing property



Css white-space,word-spacing,letter-spacing property is used to set white spacing in text.
  1. white-space this property value allow you to prevent text wraping.If you place <br/> then it wrap text.
        Syntex :
        selector
        {
           white-space:nowrap;
        }
        
  2. word spacing this property value sets spacing between words.
        Syntex :
        selector
        {
           word-spacing:10px;
        }
        
  3. letter-spacing this property value sets spacing beween letter.
        Syntex :
        selector
        {
           letter-spacing:10px;
        }
        
  4. Click to practice online example

No comments:

Post a Comment