PlanMyTax

Planning Your Taxes \\ Since 1983

Site Tools


add-stylesheet-in-chrome-to-get-landscape-or-portrait-option

Add stylesheet in chrome to get landscape or portrait option

Open Developer Tools → Open the Elements Tab → Add a New Style Element at <head> section.

<style>@page {size: auto !important;}</style>

OR

Press F12. → Go to the Console tab. → Paste the following code:

var style = document.createElement('style');
style.textContent = '@page { size: auto !important; }';
document.head.appendChild(style);
add-stylesheet-in-chrome-to-get-landscape-or-portrait-option.txt · Last modified: by admin

Page Tools