The problem is that counter-increment: doesn't increment the counter unless it's already been initialized with a counter-reset:. This should be numbered 1. This should be numbered 2. This should be numbered 3. In this version of the page, the style sheet has body: {counter-reset: note-counter;}, which works around the problem.