Forum How do I...?

Use HTML 5 section and header?

srobertjames
HTML 5 supports <section> and <header> elements. This makes outlining easy: instead of having to keep track of where you are in the outline, you just start a new <section>... much better than numbering <h1> <h2>, especially if you copy and paste.

Is there any way to support this in Prince?
Something like:
* All top level <section><header> should be bold 16 pt.
* All second level <section> - both header and body - should be indented 6 pt.
* All third levels should be indented an additional 3 pts.

Thanks!
mikeday
This might get the effect you're looking for:
section header { font: bold 16pt serif }
section section { padding-left: 6pt }
section section section { padding-left: 3pt }
srobertjames
Thanks!