Simple example for text-decoration
The "text-decoration"-property describes decorations that are added to the text of an element.
If the property is specified for a block-level element, it should affect all inline-level descendants
of the element.
If it is specified for (or affects) an inline-level
element, it affects all boxes generated by the element.
Example: underline
underline]]>
This is simple test of the text-decoration 'underline'.
This is simple test with a bigger font-size.
This is simple test with a monospaced font.
The following text decorations are defined in the REC:
•
none
•
underline
•
overline
•
line-through
•
blink
•
no-underline
•
no-overline
•
no-line-through
•
no-blink
And now more than a word...
This is a whole block wrapped in fo:inline with the property text-decoration="underline".
Some more Text to get at least two lines.
This is simple test with a bigger font-size.
This is simple test with a monospaced font.
What about underlining of whitespace only ?
A whole block should work now.
And again some more text to get at least two lines.
Let's see if all inline-areas are affected ...
This is a workaround for
the combination of
different text-decoration values...
Enter your name here:
_
The following blocks demonstrate the letter-spacing attribute:
This block does not use any letter-spacing.
This block uses a letter-spacing of 1mm.
This block uses an fo:inline element to demonstrate letter-spacing.