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
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
The purpose of introducing the inline function is to solve the efficiency problem of function call in the program, and to replace the parameter macro definition with the inline function (function parameters are more convenient to use than
inline functions: (1inline functions define and function: When a function is declared as inline, the function becomes an inline function. The inline function is usually the "inline" expansion of each call point in the program. From the definition,
For a complete description of macros and inline functions, see Chapter 1 inline functions
Http://wenku.baidu.com/view/dbf9051c59eef8c75fbfb39f.html
This article from
I. Block-level elements and row-level elements
To understand the differences between display: inline, block, and inline-block, you must first understand the features of block-level and line-level elements in HTML. In-line elements are also called
Css-inline (in-row) elements, block elements, margin, and padding
Features of block elements:
Always starts on a new line;Height, row height, and top and bottom margins can be controlled;The default width is 100% of its container unless a width is
An inline-level element (inline-level Element) attempted to insert a block-level (block-level Element) element. It is not allowed to do so. The only exception that can insert block-level elements in inline elements is the object label. So what are
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.