[whatwg] [html5] window.print() undefined

Olav Junker Kj?r wrote:
> Dean Edwards wrote:
> 
>> IE has some nice onbeforeprint/onafterprint events. Can we add these too?
> 
> 
> Arent these event mostly used to transform the view before printing it? 
> I think this is better handled by a print-specific style-sheet today.
> 

If I set element.style.display = "block" how do I hide it using a style 
sheet when it is printed?

-dean

Received on Monday, 18 July 2005 13:15:31 UTC