Free web space - Applying Themes to Master Pages You can apply
Applying Themes to Master Pages You can apply themes to Master Pages in same way you apply themes to an .aspx page. For example, you could allow users to choose background colors for the various table cells that make up a Master Page layout. Step 1 would be to open the Master Page and set the Style property of each table cell to a class name. Remove any explicitly-set Style properties that would conflict with the theme. In Figure 10-17, for example, I removed the Style properties for the top table cell, and changed the Class property to a MasterTop. And though they re not visible in the figure, I removed the Style properties from the left column as well, and set its Class property to MasterLeft. Close and save the Master Page. Then in your main style sheet (if you have one), set a default style for both elements as in the examples given here: TD.MasterTop { background-color: e0ffff; border-bottom: #483d8b thin solid; } TD.MasterLeft { background-color: #fffff0; border-right: #483d8b thin solid; } TD.MasterTop TD.MasterLeft Figure 10-17: Master Page. master with CSS classes applied to table cells. Chapter 10: Using Themes 217
In case you need quality webspace to host and run your web applications, try our personal web hosting services.