Description of possible values for the display property of CSS
Source: Internet
Author: User
The following small series for everyone to bring a brief talk about the CSS display property possible values. Small series feel very good, now share to everyone, also for everyone to make a reference. Let's follow the little part together. None this element is not displayed.
Block this element will be displayed as a block-level element with a newline character before and after this element.
Inline default. This element is displayed as an inline element with no line break before or after the element.
Inline-block the inline block element. (CSS2.1 new value)
List-item This element is displayed as a list.
Run-in this element is displayed as a block-level element or inline element based on the context.
The compact CSS has the value compact, but has been removed from CSS2.1 due to a lack of broad support.
Marker CSS has a value of marker, but it has been removed from CSS2.1 due to a lack of extensive support.
Table This element is displayed as a block-level table (similar to <table>) with a newline character before and after the table.
Inline-table This element is displayed as an inline table (similar to <table>) and there are no line breaks before or after the table.
Table-row-group This element is displayed as a grouping of one or more rows (similar to <tbody>).
Table-header-group This element is displayed as a grouping of one or more rows (similar to <thead>).
Table-footer-group This element is displayed as a grouping of one or more rows (similar to <tfoot>).
Table-row This element is displayed as a table row (similar to <tr>). http://www.php.cn/
Table-column-group This element is displayed as a grouping of one or more columns (similar to <colgroup>).
Table-column This element is displayed as a cell column (similar to <col>)
Table-cell This element is displayed as a table cell (similar to <td> and <th>)
Table-caption This element is displayed as a table header (similar to <caption>)
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