Monday, 30 October 2006

CSS: Display property










































































ValueDescription
noneThe element will not be displayed
blockThe element will be displayed as a block-level element, with a line break before and after the element
inlineDefault. The element will be displayed as an inline element, with no line break before or after the element
list-itemThe element will be displayed as a list
run-inThe element will be displayed as block-level or inline element depending on context
compactThe element will be displayed as block-level or inline element depending on context
marker 
tableThe element will be displayed as a block table (like <table>), with a line break before and after the table
inline-tableThe element will be displayed as an inline table (like <table>), with no line break before or after the table
table-row-groupThe element will be displayed as a group of one or more rows (like <tbody>)
table-header-groupThe element will be displayed as a group of one or more rows (like <thead>)
table-footer-groupThe element will be displayed as a group of one or more rows (like <tfoot>)
table-rowThe element will be displayed as a table row (like <tr>)
table-column-groupThe element will be displayed as a group of one or more columns (like <colgroup>)
table-columnThe element will be displayed as a column of cells (like <col>)
table-cellThe element will be displayed as a table cell (like <td> and <th>)
table-captionThe element will be displayed as a table caption (like <caption>)

No comments: