CSS: Text |
| You can specify the space between words, by means of the word-spacing property. Example: h1 { word-spacing : 0.4em } You can specify the wpace between letters, by means of the letter-spacing property. Example: h1 { letter-spacing : 0.3cm } You can specify a text-decoration by using the following possible values: underline, overline, line-through, blink. Examples: h1 { text-decoration : blink } You can specify a vertical alignment by using the keyword vertical-align. Possible values are: baseline, sub, super, top, text-top, middle, bottom, text-bottom. You can also specify the value as a percentage. Example: p { vertical-align : bottom } You can align text by defining an orizontal alignment. Possible values are: left, center, right or justify. You have to use the keyword text-align. Example: h1 { text-align : center } Finally, you can specify the distance between two lines, by means of the keyword line-height. Examples: p { line-height : 10pt } Warning: I have not discussed all possible keywords here. I have just considered the most important keywords. |
Index Home Back About Contact us!
Copyright (c) 1998-2006 Wowarea