When trying to print a website in Chrome, you might see that print preview does not display the layout options to select.
This can be cause by two things.
1.Setting a custom @page size declaration in the Print CSS
2. Integration of bootstrap
In both the above cases a custom @page size is given in the Print CSS and make sure you have set size: auto; as shown below to resolve the issue.
@media print {
@page {
size: auto;
}
}
Cheers,
Samitha
This can be cause by two things.
1.Setting a custom @page size declaration in the Print CSS
2. Integration of bootstrap
In both the above cases a custom @page size is given in the Print CSS and make sure you have set size: auto; as shown below to resolve the issue.
@media print {
@page {
size: auto;
}
}
Cheers,
Samitha
No comments:
Post a Comment