| display |
| The classification properties of your document refer to the element type which is being used. Examples of this are inline elements, block elements, and list items. With this property, the element type can be changed. This property will give you more control over the presentation and functionality of your document.
display This property is used to change the display values of an element, can be used to change the element's type from inline, block, and list item. display values none This value will prevent the element to it was invoked from being displayed. When this value is set, the surrounding document elements behave as if it weren't there, closing up the space the element previously occupied. block This value will insert the equivalent of a line break before and after the element in which it was invoked. inline This value is used to remove the line breaks from the element to which it is invoked, and forces that element into the flow of a parent element. list-item This value will set the element as a list-item. That is, it will appear as a list-item in an ordered or unordered list. EXAMPLE: P {display: inline} This statement will force the browser to not force the level one heading onto the next line. It will be placed on the same line as the preceding element. |