Changing css document without reloading page
Moderator: General Moderators
Changing css document without reloading page
I am trying to make a "print this page" button on my invoices in MIVA merchant... I need to be able to change the css document without reloading the page, because reloading the page kills the session. Is this possible?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
You can specify a separate CSS file that is just for printing.
http://www.w3.org/TR/REC-CSS2/media.html
http://www.w3.org/TR/REC-CSS2/media.html
I don't understand... is this what you do?
Code: Select all
<style type="text/css">
<!--
@import url(../css/master.css);
@import url(../css/printmaster.css) print;
-->
</style>