"Author" Display for display:list-item
Posted: Mon Dec 17, 2007 6:18 pm
I'm trying to set up an Author view CSS to use with my XML DTD. I've defined list-item this way:
list-item {
display:list-item;
list-style:lower-alpha;}
In the Author view, this shows up correctly as the lower-case letter "a" for the first item, but all subsequent list items also display with "a" and the correctly-incremented letter superimposed on the "a". I've tried variations of the list-style definition, and if it's specified at all, the items in 2+ have the value for the first item superimposed.
IE renders this as I expect, with just the consecutive letters. Mozilla just renders "0" for all of them, and Opera behaves the same way Oxygen does.
Anyone know how to get around this problem (short of changing my XML DTD)?
Thanks
lk
list-item {
display:list-item;
list-style:lower-alpha;}
In the Author view, this shows up correctly as the lower-case letter "a" for the first item, but all subsequent list items also display with "a" and the correctly-incremented letter superimposed on the "a". I've tried variations of the list-style definition, and if it's specified at all, the items in 2+ have the value for the first item superimposed.
IE renders this as I expect, with just the consecutive letters. Mozilla just renders "0" for all of them, and Opera behaves the same way Oxygen does.
Anyone know how to get around this problem (short of changing my XML DTD)?
Thanks
lk