Prev | Current Page 34 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

It included properties for controlling
typography, such as fonts, text alignment, spacing, margins, and list formatting. It
allowed the designer to specify the dimensions of block-level boxes and to surround
boxes with borders. Yet, when it came to layout and design, CSS1 didn??™t have much
to offer: you could specify foreground and background colors and background
images, and you could float a box to the left or to the right and make text flow around
it.
CSS2 came out in 1998, and contained a lot of the features that designers had been
longing for. Boxes could be made to behave like HTML table cells, or they could be
positioned in different ways; more powerful selectors (p. 59) were available; style
sheets could be imported into other style sheets; style rules could be specific to
certain output media; and so on. Vast improvements had also been made in the
areas of paged media (printing), and the generation of content from the style sheet.
As it turned out, some parts of CSS2 were very difficult to implement, so the W3C
decided to revise the specification and adapt it to real-world situations.


Pages:
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46