OLNN n/a   IE 4   DOM 1

The OL object reflects the OL element.

 
HTML Equivalent
<OL>
 
Object Model Reference
IE [window.]document.all.elementID
compactNN n/a   IE 4   DOM 1
 Read/Write
 

When set to true, the compact property should instruct the browser to render items in the list in a more compact format. This property has no effect in Internet Explorer 4 and is completely unavailable in the Macintosh version.

 
Example
document.all.myOL.compact = true
 
Value
Boolean value: true | false.
 
Default false
startNN n/a   IE 4   DOM 1
 Read/Write
 

The starting number for the sequence of items in the OL element. This is convenient when a sequence of items must be disturbed by running body text. While the value is a number, the corresponding Arabic numeral, Roman numeral, or alphabet letter renders the value.

 
Example
document.all.sublist2.start = 6
 
Value
Positive integer.
 
Default None.
typeNN n/a   IE 4   DOM 1
 Read/Write
 

The manner in which the leading numbers or letters of items in the list are displayed.

 
Example
document.all.instruxList.type = "a"
 
Value
Possible values are: A | a | I | i | 1. Sequencing is performed automatically as follows:
Type Example
A A, B, C, ...
a a, b, c, ...
I I, II, III, ...
i i, ii, iii, ...
1 1, 2, 3, ...
 
Default 1