As it turns out using Themes and stylesheets together is clunky. Any css
file located in an App_Themes directory will be parsed automatically. Noting
the same is true of subdirectorys of App_Themes which contain stylesheets we
can control the order those subdirectories and stylesheets will be parsed
using a goofy alphanumeric naming schema such as
App_Themes
1a_styles.css
1b_styles
2a_styles.css
....
To load a second style sheet for a specific page you'll have to try a goofy
workaround like locating the stylesheet in some other directory and then
writing the stylesheet into the page -- after -- the stylesheet(s) the Theme
writes into the page.
It sounds like you may have made the same mistake I did by using Themes
before learning the difference that can be managed when using a
StyleSheetTheme. I think using a StyleSheetTheme may be better than using
Themes. I think K. Scott Allen's blog [1] which I consider a must read
covers this well, especially for MasterPages
I'd certainly like to hear comments from those who have used both Themes and
a StyleSheetTheme on projects...
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL
http://clintongallagher.metromilwaukee.com/
MAP
http://wikimapia.org/#y=43038073&x=-88043838&z=17&l=0&m=h
[1]
http://odetocode.com
David Thielen said:
Hi;
It's there but I don't see anywhere that I actually tell my pages to
include
default.css from my theme?
And how can I add a second css file from my theme to a specific page?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars -
http://www.windwardreports.com/film.htm