Page 1 of 1

[PRINT]-function to print <DIV>-content block

Posted: Mon 22. Aug 2005, 19:28
by Igor
Hi there,

I made a site with only DIV-content blocks. In the template mainblock I defined three DIV-content blocks (content_main, sidebar and subnav). When using the [PRINT]-function I only want the content of the content_main-block to be printed. The function prints the whole mainblock content. Can this be changed? If yes, where?

The three DIV-blocks are nested, so it's impossible to place sidebar and subnav in the left or right template block.

Who faced this problem too?

Posted: Mon 22. Aug 2005, 20:16
by hendrik250874
I haven't really faced the problem, but I know you can achieve this by merely adapting your stylesheet.

It has something to with media=screen or print, and then you can drop all the html you don't want to print.

If I can, I'll try and look it up...

Posted: Mon 22. Aug 2005, 23:10
by pepe

Posted: Mon 29. Aug 2005, 19:32
by Igor
Thanks pepe, this works. Great!