WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
/*-------------------------PRINT-----------------------------*/ @media print { .nopr, #leftbox, #topmenu, #footerbox, #gecko_scrollbar {display:none;} #mainbox {width:80%; margin-left:15%}}
Code: [Select]/*-------------------------PRINT-----------------------------*/ @media print { .nopr, #leftbox, #topmenu, #footerbox, #gecko_scrollbar {display:none;} #mainbox {width:80%; margin-left:15%}}
Its actually easy thing to do but a nightmare if you just don't know what to do....Had the same problem and the slution found was as follow:Create a print.css file and specify what should be displayd (To print) and what should not:#news { display: none; } #content { font: Verdana, Arial, Helvetica, sans-serif; color: black; } #footer { display: none; }Then in your template's index.php ad:<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />And also place the following where you want the print button to apear in your index.php :<a href="javascript:window.print()" title="print page"> <img src="<?php echo TEMPLATE_DIR; ?>/print.gif" border="0" width="120" height="42" alt="Print This Page" />Thats it.... Try it...