S
Someone
I have a printer friendly page where I am using a stylesheet and the
attribute and value - media="print" - as below:
<link href="../page_print.css" rel="stylesheet" type="text/css"
media="print">
It works fine except, that the text that I want printed ends up in the
middle of the screen because elements made invisible in the stylesheet
still effect the text's positioning. Stylesheet is like this:
body {visibility:hidden;}
..print {
visibility:visible;
position: absolute;
top: 10px;
left: 10px;
}
As shown I have tried using absolute positioning for the printer style
sheet to force the text further up, but the text at the bottom of the page
then gets split over two pages. Is there a solution? I am using IE 6.
attribute and value - media="print" - as below:
<link href="../page_print.css" rel="stylesheet" type="text/css"
media="print">
It works fine except, that the text that I want printed ends up in the
middle of the screen because elements made invisible in the stylesheet
still effect the text's positioning. Stylesheet is like this:
body {visibility:hidden;}
..print {
visibility:visible;
position: absolute;
top: 10px;
left: 10px;
}
As shown I have tried using absolute positioning for the printer style
sheet to force the text further up, but the text at the bottom of the page
then gets split over two pages. Is there a solution? I am using IE 6.