HTML Document Flow

Chris Hirst's Avatar
Written by Chris Hirst. Posted in Web Development and Site Management on 20 February 2012.
Hot 2065 hits 0 favoured

You have probably heard of the "document flow" but may not understand what it actually means.
Basically it is what it sounds like; and that is  the natural order of elements as they are set out in the HTML source code from top to bottom.  However, it does go a little further than this and a block level element can have it's own "flow". So, if a block level element is taken out of the document flow by positioning, the elements it contains, called "child elements" will follow the element flow rather than the flow of the parent document.


Chris Hirst's Avatar

Author: Chris Hirst

36 0 0
...
Powered by CjBlog