Philippe: Your answer is very good. I really forget that this could be used.
But I don't kno yet why this didn't work. When I try to view print (in IE)
everything is hidden.

Ghodmode
Your answer helped me too. I was thinking in put some class="notprintable"


Thanks a lot,
Rodrigo Ribeiro de Abreu
Webdesigner (Brazil)




2011/8/4 Ghodmode <[email protected]>

> On Thu, Aug 4, 2011 at 10:11 PM, Milano <[email protected]> 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 [[email protected]]
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/

Reply via email to