CSS--Note

Source: Internet
Author: User
Position
  1. Position=absolute, the absolute positioning, this position is relative to the element's parent element, must be the predecessor element (including the parent element);
  2. Position=relative, the relative positioning, relative to the element in the absence of position before the positioning, that is, the original position;
  3. Position=fixed, which means fixed positioning, this positioning is relative to the browser window positioning, once decided, no matter how the browser window changes, he is in that place.
  4. To have an a element positioned relative to the B element, set B to relative,a to absolute

CSS--Note

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.