[]
The display property specifies the display behavior (the type of rendering box) of an element.
public enum C1StyleDisplay
Public Enum C1StyleDisplay
In HTML, the default display property value is taken from the HTML specifications or from the browser/user default style sheet. The default value in XML is inline, including SVG elements.
| Name | Description |
|---|---|
| Block | Displays an element as a block element (like <p>). It starts on a new line, and takes up the whole width. |
| Contents | Makes the container disappear, making the child elements children of the element the next level up in the DOM. |
| Flex | Displays an element as a block-level flex container. |
| Grid | Displays an element as a block-level grid container. |
| Inline | Displays an element as an inline element (like <span>). Any height and width properties will have no effect. This is default. |
| InlineBlock | Displays an element as an inline-level block container. The element itself is formatted as an inline element, but you can apply height and width values. |
| InlineFlex | Displays an element as an inline-level flex container. |
| InlineGrid | Displays an element as an inline-level grid container. |
| InlineTable | The element is displayed as an inline-level table, with no line break before or after the table. |
| ListItem | Let the element behave like a <li> element. |
| None | The element is completely removed |
| RunIn | Element is rendered as block-level or inline element. Depends on context. |
| Table | Let the element behave like a <table> element. |
| TableCaption | Let the element behave like a <caption> element. |
| TableCell | Let the element behave like a <td> element. |
| TableColumn | Let the element behave like a <col> element. |
| TableColumnGroup | Let the element behave like a <colgroup> element. |
| TableFooterGroup | Let the element behave like a <tfoot> element. |
| TableHeaderGroup | Let the element behave like a <thead> element. |
| TableRow | Let the element behave like a <tr> element. |
| TableRowGroup | Let the element behave like a <tbody> element. |