On 8/3/11 7:30 AM, Ghodmode wrote:
On Wed, Aug 3, 2011 at 10:01 PM, Philippe Wittenbergh<e...@l-c-n.com> wrote:
In the provided examples, I see things like "item", "section",
"subsection", etc... I thought they might have been classes or IDs,
but I also saw some examples with elements that didn't have IDs or
classes.
here are 2 examples I had laying around:
http://dev.l-c-n.com/CSS2/counter/counters-1.html
http://dev.l-c-n.com/CSS2/counter/counters-2.html
I'm still missing something. In your examples, I see counters named
"list" and "itemnr". Where did those names come from?
It's clearly not using classes or IDs. I see in some instances where
you might be defining those names using the counters() function of the
content property, but most of the usage examples I've seen aren't
doing that (or just aren't showing that part). So, I think there must
be a list of predefined counter names somewhere.
Does this explanation help? -
<http://www.impressivewebs.com/css-counter-increment/>
--
Cordially,
David
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/