The collection of LI objects are presented in the normal spaced out style when the compact property belonging to their owner OL object is set to false.
Setting the property to true should result in the list items being squeezed closer together. However, the functionality is rarely supported on web browsers.
It's more likely that you'll apply CSS style attributes to the list to achieve the same effect.
Prev | Home | Next |
UL object | Up | UL.type |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |