I have a counter that increments for every heading of a certain class. It worked great through a document, up until I added section tags (so I could specify one or two columns) and put the headings in them.
It used to do this with the old markup:
body
h1 - 1
h3 - 2
h1 - 3
h2 - 4
h3 - 5
With the new markup it's doing this:
body
section
h1 - 1
h3 - 2
section
h1 - 1
h2 - 2
h3 - 3
Any idea how I can stop it, I'm assuming through the rule to increment it?
It used to do this with the old markup:
body
h1 - 1
h3 - 2
h1 - 3
h2 - 4
h3 - 5
With the new markup it's doing this:
body
section
h1 - 1
h3 - 2
section
h1 - 1
h2 - 2
h3 - 3
Any idea how I can stop it, I'm assuming through the rule to increment it?