Hi,
I am using named flows to put HTML content into the margins. It works well but I have a few questions.
Here is the structure of my HTML and CSS:
1) Is there a restriction on which HTML elements I can flow into the footer i.e. can the footer div contain more-or-less any HTML?
2) What does the "start" parameter on flow do? I saw this post, but I'm still completely baffled: http://www.princexml.com/bb/viewtopic.php?t=128
3) In my example above, you can see that the HTML I flow in the header includes a page counter. I am overjoyed that this puts the correct page number on each page. Am I being lucky here, or can I rely on this in the future?
4) "content: flow(footer);" works but "content: prince-flow(footer);" does not. Is that intentional?
*** edit ***
Sorry - posted into bugs by mistake. Can you move it to "how do I"?
Thanks
Peter
I am using named flows to put HTML content into the margins. It works well but I have a few questions.
Here is the structure of my HTML and CSS:
@page {
@bottom-center {
content: flow(footer);
}
}
#footer {
flow: static(footer);
}
.pageNumber {
content: counter(page);
}
...
<div id="footer">
lots of HTML here.
This is page <span class="pageNumber"></span>
</div>
1) Is there a restriction on which HTML elements I can flow into the footer i.e. can the footer div contain more-or-less any HTML?
2) What does the "start" parameter on flow do? I saw this post, but I'm still completely baffled: http://www.princexml.com/bb/viewtopic.php?t=128
3) In my example above, you can see that the HTML I flow in the header includes a page counter. I am overjoyed that this puts the correct page number on each page. Am I being lucky here, or can I rely on this in the future?
4) "content: flow(footer);" works but "content: prince-flow(footer);" does not. Is that intentional?
*** edit ***
Sorry - posted into bugs by mistake. Can you move it to "how do I"?
Thanks
Peter