<head> <title>The Problems With Themes and Skins in ASP.NET 2.0 </title> <link href="App_Themes/Default/HandHeld.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/Print.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/Screen.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/StyleSheets/FixInternetExplorer7Quirks.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/StyleSheets/FixInternetExplorerQuirks.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/StyleSheets/HideAdvertisments.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/StyleSheets/HideBorders.css" type="text/css" rel="stylesheet" /> <link href="App_Themes/Default/StyleSheets/HideMenus.css" type="text/css" rel="stylesheet" /></head>
<head> <title>The Problems With Themes and Skins in ASP.NET 2.0 </title> <link href="App_Themes/Default/HandHeld.css" type="text/css" rel="stylesheet" media="handheld" /> <link href="App_Themes/Default/Print.css" type="text/css" rel="stylesheet" media="print" /> <link href="App_Themes/Default/Screen.css" type="text/css" rel="stylesheet" media="screen" /> <!--[IF IE]> <link href="App_Themes/Default/StyleSheets/FixInternetExplorerQuirks.css" type="text/css" rel="stylesheet" media="all" /> <![endif]--> <!--[IF IE 7]> <link href="App_Themes/Default/StyleSheets/FixInternetExplorer7Quirks.css" type="text/css" rel="stylesheet" media="all" /> <![endif]--></head>
/* Contents of Print.css or HandHeld.css*/@Import "App_Themes/Default/StyleSheets/HideAdvertisments.css";@Import "App_Themes/Default/StyleSheets/HideBorders.css";@Import "App_Themes/Default/StyleSheets/HideMenus.css";
Rick Strahl came to a similar conclusion:"theming is nice but really most of that can be accomplished with CSS and what Themes offers beyond that is really not that critical. [...] As it stands I don't really see how I can utilize Themes in my apps in a meaningful way" An excerpt from his post titled: Playing around with ASP.NET ThemesScott Allen makes a great point:"Web designers will be more comfortable with css files. If you put the design of your site into the hands of professionals than you should be asking them to use css wherever possible."An excerpt from his post titled: Themes In ASP.NET 2.0Richard P makes a related comment:"there are so many flaws in Themes and how they use CSS I dont know where to begin! [...] The concept of CSS and the web skin has been around for some years, and we have been building great solutions despite Visual Studio and ASP.NET."An excerpt from the post titled: Themes and Skins Flawed in ASP.NET 2.0