OCT 21st-

Source: Internet
Author: User

Mooc how to layout with CSS

Concept

What does it mean to break out of a document stream in CSS?

The CSS is out of the flow of the document, that is, the elements are removed from the normal layout, and the other boxes are positioned as if the elements out of the document flow are not present.
It is important to note that when you use float to detach from the document flow, the other boxes ignore the element, but the text inside the other box will still make a position for the element, wrapping around it.
For elements that use absolute positioning to detach from the document flow, the text in other boxes and other boxes ignores it.

* Two CSS settings on the right, allowing elements to be detached from the document flow (floating (float) and absolute positioning (Position:absolute))

There are three kinds of positioning mechanism stipulated in *CSS, which are standard document flow, floating and absolute positioning respectively.

* Standard document Flow

OCT 21st-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.