On Thu, Aug 4, 2011 at 10:11 PM, Milano <rodrigo.mil...@gmail.com> wrote: > Hi, I was wondering if it's possibel to hide the tag body and, after this, > show some tag (eg. a div) inside the body element. > After testing I'm quite sure It doesn't work by using "normal" ways. > > > The problem: I have a page with various tags. In the printed version, only a > div will be printed. I know how to hide all the other elements, by using > their ids, but maybe there is another way.
You might get the desired effect if you put all the other content into blocks that are hidden in your print stylesheet. You could use one class for everything you want hidden. Something like "not-printed". > Thanks > Rodrigo Ribeiro de Abreu > Webdesigner (Brazil) -- Ghodmode http://www.ghodmode.com/blog ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/