Forum How do I...?

header flow seemingly ignored

bczifra
Prince seems to ignore my attempt at flowing the h1 element with class "documentTitle" into the header. Instead, the h1 remains in the document flow, and no header appears (or so it seems). Any ideas on why this isn't working?

============

@page {
size: ansi-a;
margin: 1in 1in 1in 1.5in;
@top-center { content: flow(header); font-weight: bold; color: red;font-family: "Times New Roman",

Times, serif; font-size: 12pt; text-align: center;}
@bottom { content: counter(page); }
}

body
{
font-family: Times New Roman;
font-size: 12pt;
}

h1.documentTitle
{
flow: static(header);
text-transform: uppercase;
color: blue;
}
=================
bczifra
I'm not sure what had happened here, but I changed a couple of things and it works correctly now. I think I hadn't closed a tag correctly somewhere.