Although it's only supported in Opera, it wil one day be in all the browsers, so I thought it would be smart to start using it now so I know the ins and outs already: The counter!
What I was wondering: is it possible to write html in the content-property?
eg:
Opera doesn't support that btw, but I coudn't find any reason not to use it in the specs, but maybe that is because I don't want it to be there?HTML Code:<html> <head> <style> p{counter-increment:section;} h1 {counter-reset: section} p:before {content: "<span>The start of a paragraph</span>" counter(section);} span {color:red;} </style> </head> <body> <h1>h</h1> <p>test1</p> <p>test2</p> </body> </html>





Bookmarks