Saturday 22nd of November 2008 08:10:15 AM
Nice and Free CSS Templates
the background. There is nothing forbidden about this behavior. The
floating rules we discussed earlier only address the left, right, and
top edges of floats and their parents. The deliberate omission of
bottom edges permits the behavior in WARNING
In practice, some browsers do not do this correctly. Instead, they
will increase the height of a parent element so that the floated
element is contained within it, even though this results in a great
deal of extra blank space within the parent element.
8.2.1.1. Height
In
general, the height of an element is determined by its content. This
can be affected by its width, of course; the skinnier a paragraph
becomes, for example, the taller it has to be in order to contain all
of the textual (and other) content.
In CSS, it is possible to set an explicit height on any block-level
element. If this is done, the resulting behavior is somewhat