Scroll To Top

Enter a query to search our site. Note that you can use "*" and "?" as wildcards. Enclosing more than one word in double quotes ("CSS Layout") will search for the exact phrase.

PVII Knowledge Base

1. Select a product ...
2. Select category ...
3. Search the Knowledge Base...

Question #79

How can I force version 5+ browsers to print full width pages in CSS Transitions?

The Answer

Prepared Apr. 2002 by Gerry Jacobsen, PVII

To create a "full-width" print style sheet for CSS-Transitions page(s):

-Create a new css file. Populate it with these rules:

#LayerMain {left: 0px !important;}
#LayerSidebar {display: none;}
.mainDiv {left: 24px !important;}
.imgfloatright{float:none !important;}
#LayerMail{display:none !important;}

-Save it as print.css in the same folder as your main style sheets.

-Link each page to this style sheet. The link can go anywhere in the <head>, we put it right below the closing </script> tag:

</script>
<link rel="stylesheet" type"text/css" href="print.css" media="print">
</head>

This will enable full width page printing in v5 browsers.

Back to the questions list