A PHP Error was encountered
Severity: Notice
Message: Undefined index: userid
Filename: views/question.php
Line Number: 191
Backtrace:
File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler
File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view
File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once
Add page counter to print page CSS with @page
It happens that I have an HTML page that will be printed. I wanted to add a page counter and was trying to use @page
for that. But then, I noticed that @page
was not working at all in Internet Explorer. It works in Chrome, though. Everything except the content
property, that doesn't show.
Here's the code
@page { size: auto; /* auto is the current printer page size */ margin: 10%; /* this affects the margin in the printer settings */ @bottom-center{ font-family: FlamaSemicond-Basic; font-size: 10pt; color: black; content: "Hello!"; } }
Also, If you could help me on that page counter issue, I would be very thankful.