Forum How do I...?

Footer doesn't display in generated PDF

KSDev
The below stylesheet isn't adding a footer to the generated PDF. Running prince.exe from the command-line doesn't display any errors. Am I missing something?

@page {
size: A4;
margin: 24mm 22mm;
padding: 0;

@top-left
{
content: "TOP SECRET";
color:Red;
}

@bottom-left
{
content: "Page " counter(page) " of " counter(pages);
font-size: 7pt;
font-family: Arial, Helvetica, sans-serif;
text-align: left;
white-space:nowrap;
color:Red;
}
}
mikeday
Are you sure it's being applied? When I tried the document below, it had a header and a footer:
<html>
<head>
<style>
@page {
    size: A4;
    margin: 24mm 22mm;
    padding: 0;

    @top-left
    {
        content: "TOP SECRET";
        color:Red;
    }

    @bottom-left
    {
        content: "Page " counter(page) " of " counter(pages);
        font-size: 7pt;
        font-family: Arial, Helvetica, sans-serif;
        text-align: left;
        white-space:nowrap;
        color:Red;
    }
}
</style>
</head>
<body>
</body>
</html>