Changing Page Layouts with Cascading Style Sheets
Because you can use a Cascading Style Sheet to change the layout of a page, you can use a Theme to control page layout.
For example, the page in Listing 6.15 contains three <div>
tags. By default, if you open the page, the contents of the <div>
tags are stacked one on top of another (see Figure 6.5).
Figure 6.5. Page without Cascading Style Sheet.
Listing 6.15. ShowLayout.aspx
If you add the Cascading ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.