Hi,
I'm trying to get the heading of each paragraph displayed on the page header. I've managed to do this with the following snippet from the documentation:
However, I don't seem to get it working when using a set of divs captured from the document flow as a page header. Is this even possible, or am I just banging my head on the wall for nothing?
Cheers,
Harri Hurme
I'm trying to get the heading of each paragraph displayed on the page header. I've managed to do this with the following snippet from the documentation:
@page {
@top {
content: string(doctitle)
}
}
h1 { string-set: doctitle content() }
However, I don't seem to get it working when using a set of divs captured from the document flow as a page header. Is this even possible, or am I just banging my head on the wall for nothing?
Cheers,
Harri Hurme