August 2006
Beginner
456 pages
14h 55m
English
You can set up certain (X)HTML elements to always be aligned to the right, left, center, or justified, as desired.
To align text:
1. | Type text-align:.
|
2. | Type left to align the text to the left.
Or type right to align the text to the right.
Figure 10.33. Don’t forget the hyphen in text-align.
|
✓ Tips
If you choose to justify the text, be aware that the word spacing and letter spacing may be adversely affected. For more information, consult Controlling Spacing on page 162.
Note that the text-align property ...
Read now
Unlock full access