[Cascading Style Sheets]
[Previous page] [Next page] [Section contents page]

Classification Properties and Values

Below is a table of classification style properties and values. (I've included here only properties now supported by Internet Explorer and Netscape -- I'll add others when they are supported)

Commonly Used Properties and Values for Cascading Style Sheets

Table Legend
IE3 Supported in Internet Explorer 3.x
IE4 Supported in Internet Explorer 4.x
N4 Supported in Netscape 4.x
pt = points
in = inches
cm = centimeters
px = pixels
em = height of element's font
(the em unit is not yet widely supported and should be used with caution)
  Property Description Values Example
Classification Properties
IE4
N4
display (not inherited) causes element not to be rendered (no space will be set aside for it on the page) none { display: none }
IE4
N4
list-style-type (inherited) specifies appearance for list item markers (for use with LI elements) disk; circle; square; decimal; lower-roman; upper-roman; lower-alpha; upper-alpha; none { list-style-type: square }
IE4
N4
list-style-image (inherited) specifies an image to be used for list item markers (for use with LI elements) url(URL); none { list-style-image: url(redball.jpg) }
IE4
N4
list-style-position (inherited) specifies the position of list item markers (for use with LI elements) inside; outside { list-style-position: inside }
IE4
N4
list-style (inherited) specifies the position, style, and image URL of list item markers (for use with LI elements) inside; outside
disk; circle; square; decimal; lower-roman; upper-roman; lower-alpha; upper-alpha; none
URL
{ list-style: inside disk url(redball.jpg) }
[Previous page] [Next page] [Section contents page]