Site layout - document flow

 

First, what is the document flow?
The form is divided into a top-down line by line, and each line from left to right by the discharge element, called document flow, also known as the normal stream.

 

This should not be difficult to understand, all the elements are in the HTML box model box model take up some space, followed by emissions in HTML form document flow.

 

 

 

Second, what is out of the document flow?
After the document elements from the stream, the stream does not take up space in the document, but is in a floating state (floating above can be understood as the flow of the document). Positioning elements from the document flow based on the normal flow of the document, when an element from the document flow, still other elements in the document stream will ignore this element and to fill its original space.

 

 

 

Third, how from the document flow?

 

Document flow refers to the element layout process layout elements will default automatically from left to right, top-down flow arrangement . And ultimately form into top-down line by line, and the discharge of the elements from left to right in each row.

Document flow in three sites:

1. Standard flow

2. Floating

3. Locate

 

Guess you like

Origin www.cnblogs.com/jing-tian/p/11013870.html
Recommended