just started playing around with CSS and find I have a weird little problem related to printing and hidden divs.
a page contains hidden divs (hidden on screen) - the page uses a print css file so that these divs will be printed when the page prints
there are also links to toggle these divs on/off in the screen display (the links are simple JS setting of the divs' display style)
so far so go - works fine
problem is that, if such div is opened and closed using the links, the (now re-hidden) div will no longer print when the page is printed. They will, of course, print if they are visible on the screen but will not print when hidden by the links.
example: oops - I removed this link because it was to a page on my site which seems against the rules?? yes?
I'm guessing this is related to when stylesheets are applied (as page loads) and I guess I could add a "Print" link or button that would be sure to set the display when printing - but I sort of hate that as a solution??
Any ideas or pointers? Thanks