Appearance:
display: <value>
Possible Values:
block | inline | list-item | none
Initial Value:
block
Applies to:
All elements
Inherited:
No
block (a line break before and after the element)
inline (no line break before and after the element)
list-item (same as block except a list-item marker is added)
none (no display)
The display property can be dangerous because of its ability to display elements in what would otherwise be an improper format. The use of the value none will turn off display of the element to which it is assigned, including any children elements!
Example:
<p><center>
<font face="Arial, Helvetica, sans-serif" color="#000000" size="1">
<a id=sub1 href="#formit" title="click here to send the author a comment suggestion or error report"
onmousedown="document.all.comment.style.display=document.all.comment.style.display=='); 'none' ? ' : 'none' "
style="width=150px;text-align:center;">
comment on the<br> Display [display] page</a></center>