| Property | Description | Values | דפדפן | ||
| IE | F | N | |||
| Sets the color of a text | color | 3 | 1 | 4 | |
| Sets the text direction | ltr | 6 | 1 | 6 | |
| Sets the distance between lines | normal | 4 | 1 | 4 | |
| Increase or decrease the space between characters | normal | 4 | 1 | 6 | |
| Aligns the text in an element | left | 4 | 1 | 4 | |
| Adds decoration to text | none | 4 | 1 | 4 | |
| Indents the first line of text in an element | length | 4 | 1 | 4 | |
| Controls the letters in an element | none | 4 | 1 | 4 | |
| Sets how white space inside an element is handled | normal | 5 | 1 | 4 | |
| Increase or decrease the space between words | normal | 6 | 1 | 6 | |
| text-shadow | | none | | | |
| unicode-bidi | | normal | 5 | | |
יום שני, 13 באפריל 2009
8.1 סגנונות לטקסט - מבוא
8.2 Letter-spacing
p {letter-spacing: 12px}
| Value | Description |
| normal | Default. Defines normal space between characters |
| length | Defines a fixed space between characters |
8.3 Text-align
p {text-align: center}
| Value | Description |
| left | Aligns the text to the left. Default value: Browser dependent |
| right | Aligns the text to the right |
| center | Centers the text |
| justify | |
8.4 Text-decoration
P{text-decoration:blink line-through}
| Value | Description |
| none | Default. Defines a normal text |
| underline | Defines a line under the text |
| overline | Defines a line over the text |
| line-through | Defines a line through the text |
| blink | Defines a blinking text (does not work in IE) |
8.5 text-indent
P{text-indent:-20px;margin-left:20px;}
| Value | Description |
| length | Defines a fixed indentation. Default value: 0 |
| % | Defines an indentation in % of the width of the parent element |
8.6 text-transform
p {text-transform: uppercase}
| Value | Description |
| none | Default. Defines normal text, with lower case letters and capital letters |
| capitalize | Each word in a text starts with a capital letter |
| uppercase | Defines only capital letters |
| lowercase | Defines no capital letters, only lower case letters |
8.7 vertical-align
img {vertical-align: bottom}
| Value | Description |
| baseline | Default. The element is placed on the baseline of the parent element |
| sub | Aligns the element as it was subscript |
| super | Aligns the element as it was superscript |
| top | The top of the element is aligned with the top of the tallest element on the line |
| text-top | The top of the element is aligned with the top of the parent element's font |
| middle | The element is placed in the middle of the parent element |
| bottom | The bottom of the element is aligned with the lowest element on the line |
| text-bottom | The bottom of the element is aligned with the bottom of the parent element's font |
| length | |
| % | Aligns the element in a % value of the "line-height" property. Negative values are allowed |
8.8 word-spacing
p {word-spacing: 30px}
| Value | Description |
| normal | Default. Defines normal space between words |
| length | Defines a fixed space between words |
8.9 text-shadow
9.1 מאפייני התיבה

td{padding:5mm;padding-bottom:2mm;}