Is it possible to apply css visibility:hidden style for hiding content when converting from html

View: New views
1 Messages — Rating Filter:   Alert me  

Is it possible to apply css visibility:hidden style for hiding content when converting from html

by tommyp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I'm converting content at runtime from my cms to pdf. After doing some processing of html and during HTMLWorker iterations my result is not bad.
My big issue now is about css, especially about hidden stuff. My initial idea was to create a pdf-specific stylesheet to use for pdf-generation, and hide different elements of the content (e.g. navigation, menus etc.) using hidden-visibility for specific css classes.
I fear this is not possible (at least I cannot get it to work), but somehow there may be a workaround or another approach.
Any ideas or comments are appreciated.

Thanks
>Tommy