- header and footer
- print margins
- paper size and orientation
Could I control those browser's parameters with JavaScript? Or better, with CSS? Internet Explorer is particularly annoying by enabling header and footer by default. Could I, for instance, write a JavaScript to disable browser's header and footer?
I'm also writing a web-based application that are supposed to print pages in exact size (A4, etc). I try to achieve the HTML page size by the following:
Code: Select all
<html>
<head>
</head>
<body>
<table border=1 style="width:29.7cm;height:21cm";border-color:black">
<tr><td>A4</td></tr>
</table>
</body>
</html>