2014 Annual Sinsing CSS Tutorial Summer edition seventh section

Source: Internet
Author: User

In this section we study the floating problem, floating makes the layout more flexible, although we also have a description of the layout, but they provide the content is too limited, in order to get a more powerful layout, you must also use floating to complete a more flexible layout.

Floating ************

1. If we let an element float, then the element before the element will not be affected, if the element is left floating, then its elements will automatically run to its right, if the element right floating, then the element below it will automatically run to its left.

2. If we put several adjacent elements together, if there is space, then they will be next to each other.

3. Floating can be clear, we can use the clear property to clear the float, can be specified as Clear:both.

4. We can use the Float property to specify a float, left to float, and right to float.

Summary **************

1.CSS Tutorial to this first, I hope in a few days to write the application part of the.

2. After all, CSS is quite profound.

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.