[Typo3] Print Page with Autoparser

Peter Russ peter.russ at 4dfx.de
Thu Feb 3 21:38:44 CET 2005


Marlies C schrieb:
[...]
> ... whereas I created a print stylesheet that only contains the 
> contents I want to print and uses the regular html template.

This might result in unpredictable outputs as you will use 
visibiliy=hidden or display=none. If this is no risk for you you could 
also use 1 (ONE) CSS and define
<style type="text/css">
<!--
@media print
{
   /* ... definitions that are different from screen ... */
}
@media screen
{
   /* ... definitions that are differnt from print ... */
}
/* common definitions */
-->
</style>

in your template. This also works in a separate css-file. But it's less 
typo3 more regular HTML ;-)

DISADVANTAGE: No preview in browser.

Regs. Peter.



More information about the TYPO3-english mailing list