[thelist] ASP.NET: accessing the style of the page inserver-sidecode?
Jorah Lavin
madstone at madstone.net
Tue Sep 30 04:03:19 CDT 2003
At 09:03 09/30/03 +0100, jasonh at corestar.co.uk wrote:
>Sorry, I wasn't very clear. I want to change the stylesheet that's actually
>being served. I'm trying to add ".noprint { display:none; }" if the page is
>being loaded in "printer-friendly" mode (as determined by my server-side
>code).
I'm doing a "print version" at work, (in .NET) just by calling two separate
sheets, one for screen and one for print... if you can do it so simply, why
struggle?
This works when someone selects "print" in the File menu...
Or is there more to the story?
-Jorah
More information about the thelist
mailing list