Numeric List

5 views
Skip to first unread message

andygospo

unread,
Apr 21, 2013, 11:16:54 AM4/21/13
to psu...@googlegroups.com
In the running example in Tutorial 5, on page 240-241, we add this to the feature declaration:

feature        {display: list-item; list-style: square inside; font-size: 8pt}

Suppose, instead of using the square list type, I want to make this into a sequential/ordered (decimal) list.
So, I'd change this feature declaration to:

feature        {display: list-item; list-style: decimal inside; font-size: 8pt}

But this just gives a list of 0's, ie:

0. sizes: (L) 16.5", (XL) 18.5", (XXL) 21"
0. frame: Prime Aluminum Comfort Specific
0. fork: Trek high tensile steel ATB
0. wheels: Matrix 550 rims
...


So, how would you a implement an sequential/ordered list from 1 to n?

Thanks,
Andy

andygospo

unread,
Apr 21, 2013, 3:14:39 PM4/21/13
to psu...@googlegroups.com
Chris pointed out that it works on his machine.  It seems to be a browser-specific thing:

Firefox: shows a list of 0's
IE and Chrome show a numbered list

Is there something special you have to do in Firefox?  I found a couple of articles asking this question but no solutions.
Reply all
Reply to author
Forward
0 new messages