Chapter 10. Floating and Positioning
Sure, CSS makes content look good with font changes, backgrounds, and
all the rest, but what about accomplishing basic layout tasks? Enter
floating and positioning
The idea behind
positioning is fairly simple. It allows you to define exactly where
element boxes will appear relative to where they would ordinarily
be—or relative to a parent element, or another element, or even
to the browser window itself. The power of this feature is both
obvious and surprising. It shouldn't shock you to
learn that user agents support this element of CSS2 better than many
others.
layout either. We'll see exactly what this means
later in the chapter.
|