css print padding on every page code example
Example: set margin to none inside print
body{
margin: 25mm 25mm 25mm 25mm;
}
@media print {
body {
margin: 0;
box-shadow: none;
}
}
body{
margin: 25mm 25mm 25mm 25mm;
}
@media print {
body {
margin: 0;
box-shadow: none;
}
}