I'm having trouble getting the @page directive to work in my CSS. Using Google Chrome to test; VS2015, MVC5 to develop Here's what's in my CSS:
@page
{
size: auto; /* auto is the initial value */
/* this affects the margin in the printer settings */
margin: 0.5in 0.5in 0.5in 0.5in;
@bottom-right
{
content: "Page " counter(page) " of " counter(pages);
}
}
More specifically, the page count (@bottom-right) isn't showing up. Am I supposed to put something else into the cshtml page to make it recognize the @page directive?
I have researched this, and gotten several ideas regarding the style sheet setup using @page, but haven't found anything regarding the cshtml setup needed.