Last active
November 7, 2015 12:46
-
-
Save jayshields/bf10c796c9d8daebfbba to your computer and use it in GitHub Desktop.
NatWest online banking print statement fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementById('ctl00_secframe').contentWindow.print(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media print { | |
.frame.transactionMiddle, #mid, .wizard #content, #canvas, .wizard #wrapper { | |
width: 100% !important; | |
} | |
.ItemTable { | |
width: 95% !important; | |
} | |
#lpdcFrame { | |
display: none !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the NatWest online banking site is inside a frame and fixed width, you can't print it properly. So I've made a fix.
Add the CSS in Stylish and then add the JS to a bookmarklet (just a regular bookmark, prefix it with
javascript:
) then when you're on the latest statement page click your bookmarklet to print it.