Share » Forums » General » How to hide part of article in...

How to hide part of article in printable version

How to hide part of article in printable version

Saturday 31 July 2004 7:44:57 am - 1 reply

Author Message

Ole Morten Halvorsen

Tuesday 10 August 2004 1:25:37 am

Ted,

You can create your own stylesheet used when printing.
Example:

@import url({'stylesheets/print.css}|ezdesign(no)} print;

Now, in your article template add a <div> around your button or whatever you want to hide and in your print.css set the display property to none:

div.hidebutton { display: none; }

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu