HTML about the floating thing

Source: Internet
Author: User

Floating
Float:left,right,none,
Note : Floating elements Change the current block-level element to an inline element

Clear floating

Clear:both (clear left and right floating); (clears the floating side);

Overflow:none (clear float); hidden (hidden); scroll (rolling); Auto (Auto (scrolling effect));

Element positioning (position)
Relative: Relative positioning
Absolute: Absolute Positioning
Fixed: Stationary (not recommended, some browsers will be compatible)
Note : The relative and absolute positioning starting points are in the upper-left corner of their parent tag;

1 overlap relationship (z-index)
The default relationship is 0
The value can be any integer
The larger the value, the more forward the position
2 transparency
The smaller the opacity:0~1 value, the more transparent

HTML about the floating thing

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.