Display
Syntax: display: <value>
Allowed value: block | inline | list-item | none
Initial value: block
Applicable to: all objects
Backward Compatible: no
The display attribute allows one of the four values to define an element:
Block (there will be line breaks before and after the element)
Inline (there will be no line breaks before and after the element)
List-item (same as block, but added the directory item mark)
None (not displayed)
Each element is typically displayed by the browser based on the HTML specification recommendations to give a default display value.
The display attribute may not be safe because it uses an inappropriate format to display elements. If the value is none, the display of the specified element and its child element is disabled!
Blank
Syntax: white-space: <value>
Allowed value: normal | pre | nowrap
Initial value: normal
Applicable to: block-level elements
Backward compatibility: Yes
The blank attribute determines how to process spaces in the element. The value of this attribute is one of the following three:
Normal (fold multiple spaces into one)
Pre (do not fold spaces)
Nowrap (line breaks are not allowed unless a <BR> flag is encountered)
Directory style type
Syntax: list-style-type: <value>
Allowed value: disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none
Initial value: disc
Applicable to: directory item elements with display values
Backward compatibility: Yes
The directory style item attribute specifies the type of the directory item tag. It is used when the directory style image value is none or when the image loading option is disabled.
For example:
LI. square {list-style-type: square}
UL. plain {list-style-type: none}
OL {list-style-type: upper-alpha}/* a B C D E etc .*/
OL {list-style-type: decimal}/* 1 2 3 4 5 etc .*/
OL {list-style-type: lower-roman}/* I ii iii iv v etc .*/
Directory style image
Syntax: list-style-image: <value>
Allowed value: <url> | none
Initial value: none