Once upon a while, Display:inline-block has been deep into the streets, everywhere "display:inline-block; *display:inline; *zoom:1; "Such a code. Today, modern browsers have fully supported this property value, and the code above is only for
Once upon a while, Display:inline-block has been deep into the streets, everywhere "display:inline-block; *display:inline; *zoom:1; "Such a code. Today, modern browsers have fully supported this property value, and the code above is for
Once upon a while, Display:inline-block has been deep into the streets, everywhere "display:inline-block; *display:inline; *zoom:1; "Such a code. Today, modern browsers have fully supported this property value, and the code above is for
Inline-block past and present
Trace | Time:
Once upon a time, the code "display: inline-block; * display: inline; * ZOOM: 1;" was everywhere. Modern browsers now fully support this attribute value. The above code is only for compatibility
Block elements and inline element parsing blocks elements (block element) in HTML Getting Started HTML are typically container elements of other elements, and block elements generally start from the new row, which can accommodate inline elements and
HtmlBlock elements, inline elementsClassification of block-level elementsBlock-level elements are divided into three types depending on their application to structure or content:Structured block elements, terminal block elements, multi-object block
CSS2.1SPEC: Inclusion block of the visual formatting model,The original style is the most delicious. When reading CSS standards, I have a deeper understanding of this, one of the major feelings after reading the document is that many styles that
Block-level element Classification (Original: http://kevinpeng.iteye.com/blog/743936)
Block-level elements include structured block elements, terminal block elements, and multi-object block elements.
1. Structured block elements
These
The difference between block elements and inline elements.
Only one row can set the margin in the width, height, and vertical direction, and the margin and padding in the horizontal direction of padding.
Block Element: Yes, yes, yes
Inline element:
Block elements generally start from the new line, which can accommodate inline elements and other block elements, and the common block element is the paragraph label ' P '. The block element of "form" is special, and it can only be used to
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.