Prev | Current Page 479 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

This is especially noticeable on Macintosh systems.
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
Other Relevant Stuff
vertical-align (p. 338)
controls vertical alignment
Inline Formatting (p. 166)
text-align
text-align: { center | justify | left | right |
inherit } ;
This property specifies how the inline
content of a block is aligned, when the
sum of the widths of the inline boxes is
less than the width of the line box.
Value
The initial value is left if direction
is ltr, and right if direction is rtl.
Example
This style rule makes text in h1 headings
centered:
h1 {
text-align: center;
}
SPEC
version initial inherited
CSS1, 2 see below YES
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL BUGGY
331 Typographical Properties
center This value makes the text center justified.
justify This value makes the text left and right justified. In this case, inline
boxes may be stretched in addition to being repositioned.


Pages:
467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491