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

Dean Edwards dean at edwards.name
Mon Jul 18 13:15:31 PDT 2005


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




More information about the whatwg mailing list