Quote:
Originally Posted by Karellen
Maybe try display:none; speak:none;
display :
Element is removed from the normal flow and hidden; the space it occupied is collapsed
visibility:
Element is hidden from view, but is not removed from the normal flow
|
No,
display: none doesn't work, because if it's not displayed at all, it doesn't increment the list counter. You have to display the list elements, but make them zero size. One of the reasons I think this is such a hideous hack.
I do prefer not to use fake paragraphs as <li>s though; I prefer to use a <ul> with a custom bulletless style and manually put numbers in that. At least it's a list then.