Hi, I'm looking to accomplish a nested generated content issue.
I have to following HTML
With this CSS
So far everything is peachy. But when I try to define a string-set from a H1 and try to write this into span.class this isn't working.
Is this possible?
I have to following HTML
<p class="head">
<span class="first">Repeatable title</span>
<span class="divider">|</span>
<span class="last"></span>
</p>
With this CSS
p.head {
position: running(heading);
font-size: 8pt;
margin: 0;
padding: 0;
}
@page {
size: A4;
@top-left {
content: element(heading);
}
}
So far everything is peachy. But when I try to define a string-set from a H1 and try to write this into span.class this isn't working.
h1 {
string-set: doctitle content();
}
p.head span.last {
content: string(doctitle);
}
Is this possible?