August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.textIndent
The textIndent property specifies the indention should appear before text as associated with the class called className. The definition can also specify a tag or the word all for tagName. The property is assigned a number that represents either length or a percentage.
Listing 7.91 uses the textIndent property to set the text indention to 1 inch.
<html> <script> <!-- Hide //Create a style sheet class that defines text indention document.classes.INDENT.all.textIndent = "1in"; //Hide End ---> </script> <p>This text has no indention.</p> <p class=INDENT>This text is indented ... |
Read now
Unlock full access