google htmlhead site:msdn2.microsoft.com
Its a new class in 2.0 that I've determine may be used to work around the
way Microsoft has crippled the use of CSS when using Themes. I didn't finish
refining or proving it can be done yet but the goal is to generate your
declaration "after" that which the Theme generates so as to inherit which
you probably understand. There is also the HtmlLink class in this context to
consider and as I recall an HtmlMeta class.
Please return to make note of your success or failure trying to over-ride
the Theme by writing a style sheet that appears "after" the stylesheet used
with the Them as I need to get back to this myself and would appreciate it
if somebody has the time to get it done now and can convey how to do it as
there is a trick involed as I remember several months back before I was
distracted away from perfecting the work-around.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Pål Andreassen" <ne**@codroe.com> wrote in message
news:Xn**********************************@213.131. 157.161...
We are using themes (skin files and css files in the App_Theme) folder of
a
large web application.
We are now implementing print functions on our pages. Earlier we've done
this by having separate stylesheets for screen and print using the media
attribute to specify usage.
e.g.:
<link rel="stylesheet" type="text/css" media="screen" href="screen.css"/>
<link rel="stylesheet" type="text/css" media="print" href="print.css"/>
But i ASP.NET 2.0 using themes any stylesheet that resides in a theme
folder is "automagically" referenced from any webpage without specifying
the media attribute.
Is there any way to specify media without having to move the stylesheet
files out of the theme folder and manually linking to it?
--
Pål Andreassen
ne**@codroe.com