Home > Web Front-end > HTML Tutorial > css notes-display attribute_html/css_WEB-ITnose

css notes-display attribute_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:44:24
Original
1112 people have browsed it

css notes-display attribute

display attribute possible values ​​

display: none | inline | block | list-item | inline-block | table | inline -table | table-caption | table-cell | table-row | table-row-group | table-column | table-column-group | table-footer-group | table-header-group | compact | run-in | ruby | ruby-base | ruby-text | ruby-base-group | ruby-text-group

display attribute value description

none: hidden element. Unlike the hidden value of the visibility attribute, it does not reserve its physical space for the hidden object.

inline: Specifies the object as an inline element.

block: Specify the object as a block element.

list-item: Specify the object as a list item.

inline-block: Specifies the object as an inline block element. (CSS2)

table: Specifies the object as a table at the block element level. Similar to the html tag

(CSS2)

inline-table: Specifies the object as a table at the inline element level. Similar to the html tag

. (CSS2)

table-caption: Specify the object as the table title. Similar to the html tag

. (CSS2)

table-row-group: Specify the object as a table row group. Similar to the html tag

. (CSS2)

table-column: Specify the object as a table column. Similar to the html tag

. (CSS2)

table-column-group: Specify the object to be displayed as a table column. Similar to the html tag

. (CSS2)

table-header-group: Specify the object as the table header group. Similar to the html tag

. (CSS2)

table-footer-group: Specify the object as the table footer group. Similar to the html tag

. (CSS2)

compact: Allocate objects as block objects or inline objects based on content. (CSS3)

run-in: Allocate objects as block objects or inline objects based on content. (CSS3)

ruby: Display objects as table footer groups. (CSS3)

ruby-base: Display objects as table footer groups. (CSS3)

ruby-text: Display the object as a table footer group. (CSS3)

ruby-base-group: Display objects as table footer groups. (CSS3)

ruby-text-group: Display the object as a table footer group. (CSS3)

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
. (CSS2)

table-cell: Specify the object as a table cell. Similar to the html tag

. (CSS2)

table-row: Specify the object as a table cell row. Similar to the html tag