Menu
I’m trying to get automatic numbering to work for <h4> and <h5> on my alternative stylesheet, “Modern.” I want every <h4> to read “§A Title”, “§B Title”, “§C Title”, etc and every <h5> to read “§A1 Subtitle”, “§A2 Subtitle” and so on. Here is the code:
[code]div.body_head h4 { counter-reset: section; }
div.body_head h4::before { content: “§” counter(§) ” “; counter-increment: § 1; }
div.body_body h5::before { content: “§” counter(§) ” “; counter-increment: section; }
[url=http://www.nadamt.xmgfree.com/index.xml]Here is the website
Can anyone help me out? Thanks in advance.