Site layout------Floating (float) and positioning (position) (absolute positioning, relative positioning, static fixed positioning), * * * what is called out of the document flow?@ Reference Document: http://www.cnblogs.com/jenry/archive/2007/07/15/8
float float:The floating box can be moved left or right until its outer edge touches the border of the containing box or another floating box.Because the float box is not in the normal flow of the document, the Block box in the normal flow of the
Position: absolute and float: left are close relatives
Package
The encapsulation is to make the element inline-block. For example, the default width of a div label is 100%, but once it is entangled in the absolute attribute, the default 100% width
Float buffer FloatBuffer in javaI. Overview:
java.lang.Object java.nio.Buffer java.nio.FloatBuffer
public abstract class FloatBuffer extends Buffer implements Comparable
This class defines four types of operations on the float Buffer:
Read
CSS layout: Similarities and Differences between float and absolute positioning, and between css layout float
Float and absolute position (position: absolute)
Similarities:(1) They all float (leaving the original location)
(2) and do not
These days started in the study of CSS, the main reason for the study is the work needs, recently found that if the front-end only JavaScript is very difficult to perfect, of course, understand the style and HTML to a certain extent can let us a
css Float (float), a property that we love and hate. Love, because through the floating, we can easily layout; hate, floating after the left too many problems need to be solved, especially ie6-7 the following no special description refers to the
Float:left|right; Automatic line wrapping can be arranged automatically, but clear is required to fit the float;Display:inline-block; There are times when you can replace float to achieve the same effect.position:absolute|relative; To cooperate with
1. position: staticThe default value of the position attribute of an element is static. That is, the element appears in the regular position of the document and is not located again.Generally, this attribute value can be left unspecified unless it
Relative path and absolute path: /( root ) directory for the path. The relative path does not take the / start with an absolute path with / ./abc is a relative path (./represents the current path), /abc is the absolute path. However: ~/
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.