View Single Post
  #2 (permalink)  
Old November 2nd, 2012, 05:14 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

In this example, it seems that the reason for creating a Styles.css file in the root directory of the web site was because the formating defined is supposed to be applied to both of the themes.

Styles.css is just an arbitrary name / locatiion. You can pick whatever makes sense for you. To keep the themes self-contained, you could duplicate the code in each of the theme's CSS files. However, by putting it in a shared file, you only need to manage the code once for multiple themes.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Tulsi (November 5th, 2012)