I have an XSL transform that turns an XML document into HTML. There is a div that contains data and scrolls by using CSS: overflow: auto;. When printing or when JavaScript is disabled, I would like to simply display the contents: overflow: visible;. However, tags are only allowed in the header and tags are only allowed in the body. Bugger! Validation aside, Firefox ignores in the tag and includes "noscript.css" anyway.
Here's what I have right now:
This works for printing, but not when JavaScript is disabled.
My next thought was to use JavaScript, something along these lines: