You are currently viewing the BOOK: Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages ISBN: 978-0-470-12448-2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Can you put up here the conditional logic that is failing for you? If you can copy and paste it from your own project, I might be able to find the problem. Sometimes something seemingly insignificant can cause the entire thing not to work.
Case in point, I just helped another reader figure out how to get the CSS Adapaters to work on his project. The major problem? His CSS Class referenced AspNet-Gridview instead of AspNet-GridView. If you didn't immediately see the difference, the v isn't capitalized in his example but it is in the divs rendered by the adapters. And CSS is case-sensitive. So, when the browser was looking for the style rules for AspNet-GridView it couldn't find any and so it didn't apply any style.
Anyway, it is hopefully something as simple as that that you might spend all day looking at and not see but a fresh set of eyes might spot immediately. If you can post the code you are using, I can download it here and run it and see what I see.