Print Preview

Re: Print Preview

by António Godinho -
Number of replies: 0

Solved the problem by creating this CSS:

header, footer {

    display:none;

}


html, body {

    background-color: white !important;

}

And adding this to the page I wanted to print:

$PAGE->requires->css('/blocks/mrbs/PrintPreview.css');


I endup with a minimal layout, that solved the problem. Hope it helps someone else.


Cheers