Hello,
I have a layout.css for the on-screen style and a print.css for the style on paper.
I have successfully removed the items I don't want to print out using {display: none;} in the print.css.
On the printed page, I would like some other text to print, this doesn't appear on screen.
I've put the {display: none;} in the layout.css and the styles required in print.css however it will not print out.
Can I have text which is only seen on paper or have I done something wrong?
Here is the code:
LAYOUT.CSS
#printfooter {display: none;}
.printtext {display: none;}
PRINT.CSS
#printfooter {margin: 1.3em 0.9em 1.5em 1em;}
.printtext {font : 10pt verdana, arial, helvetica, sans-serif; text-align: right; color : black; }
AND ON THE HTML DOC:
<div id="printfooter" class="printtext">Lorem ipsum dolor sit amet<br />consetetur sadipscing elitr<br /> sed diam nonumy eirmod tempor invidunt <br />ut labore et dolore magna aliquyam <br /></div>
I have a layout.css for the on-screen style and a print.css for the style on paper.
I have successfully removed the items I don't want to print out using {display: none;} in the print.css.
On the printed page, I would like some other text to print, this doesn't appear on screen.
I've put the {display: none;} in the layout.css and the styles required in print.css however it will not print out.
Can I have text which is only seen on paper or have I done something wrong?
Here is the code:
LAYOUT.CSS
#printfooter {display: none;}
.printtext {display: none;}
PRINT.CSS
#printfooter {margin: 1.3em 0.9em 1.5em 1em;}
.printtext {font : 10pt verdana, arial, helvetica, sans-serif; text-align: right; color : black; }
AND ON THE HTML DOC:
<div id="printfooter" class="printtext">Lorem ipsum dolor sit amet<br />consetetur sadipscing elitr<br /> sed diam nonumy eirmod tempor invidunt <br />ut labore et dolore magna aliquyam <br /></div>