Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://crydee.sai.msu.ru/~vab/html.doc/css2/images/longdesc/flow-clear-desc.html
Дата изменения: Fri May 1 19:12:28 1998 Дата индексирования: Mon Dec 24 08:35:33 2007 Кодировка: Поисковые слова: http www.sai.msu.su sn sncat |
This diagram illustrates the effects of floating a box ("inner") and how its "sibling" flows alongside it.
A document window is shown, with 8 lines (numbered 1 to 8), each 24px high. Since the "inner" box has been floated to the right, all other text flows around it, including that of the "sibling" box (on lines 1 through 5).
In the following PRE element, each 24 pixel line is simulated by two lines, the second beginning with the appropriate number. Vertical bars represent the left edge of the floated box. The lines, as they appear in the image, contain:
1 Beginning of body contents. Start 2 of outer contents. | Inner 3 Sibling contents. End | contents. 4 of outer contents. End of body 5 contents.
The default text color is black. "Start of outer contents" is red. "Sibling contents" is red. "Inner contents" is blue. "End of outer contents" is red.