Page 1 of 1

Control the order of the CSS links

Posted: Sat Sep 13, 2008 3:16 pm
by boycec
I have a CSS template that is made up of several other external css files. The importing of these external files are controlled by the main CSS file.

The AC frame work is automatically loading all the external CSS files it finds in my Theme directory. The order that it loads them causes problems with my layout.

Is there any way to control the order or better yet, tell the framework to not automatically load every CSS file it finds?

My plan B is to merge all my external files into one big main file, but I would like to avoid that if I could.

Thanks

Re: Control the order of the CSS links

Posted: Sat Sep 13, 2008 5:14 pm
by jmestep
It looks like .net loads the ones in the Themes folder alphabetically by default.
http://forums.asp.net/p/920874/1058148.aspx#1058148

Re: Control the order of the CSS links

Posted: Sun Sep 14, 2008 12:10 am
by boycec
Thanks for the link