Quote:
Originally Posted by om_prakash
You can use for each space.
If you want equal spaces between words, then you can use following "style":
Code:
<style>
<!--
.word{word-spacing: 20px;}
.letter{letter-spacing: 20px;}
-->
</style>
<p class="word">You can see words in this line are 20 pixels apart</p>
<p class="letter">You can see letters is this line are 20 pixels apart</p>
|
Using CSS is the much better of the two solutions. As you can see it merely requires including a class in the element (or a CssClass attribute in a web control). Then all the spacing can be easily controlled from the stylesheet. If you use it hardcodes the spaces into the design making it difficult to read and maintain later.
__________________
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
|