Css--position

Source: Internet
Author: User

Position refers to the positioning of elements, there are:static,Absolute, fixed, relative, inherit 5 kinds.

Static By default, layout is laid out in the Order of HTML code.
Absolute Absolute positioning, relative to the non-static element of the ancestor Div.
Fixed Absolute positioning, out of the HTML document stream, the default location is occupied by subsequent elements, and is positioned relative to the browser window layout. Because of a conflict with other elements, you should be aware of defining the Z-index property setting
Relative Relative positioning, relative to its position in the HTML document
Inherit Same as position of parent Div

Http://www.cnblogs.com/bokin/archive/2012/12/07/2807322.html

http://blog.csdn.net/tomatozq/article/details/7178144

Http://zh.learnlayout.com/inline-block.html

Http://www.cnblogs.com/dolphinX/p/4071725.html

Http://www.cnblogs.com/yexiaochai/p/4074624.html

Http://www.cnblogs.com/polk6/archive/2013/07/26/3214847.html

Http://www.chinaz.com/design/2010/1229/151993.shtml

Css--position

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.