CSS classes.
You can put a div that fills the body inside the body and content owner.
Master page
<body> <asp:ContentPlaceHolder id="cph" runat="server" /> </body>
This div may have the uniuqe identifier on the page.
Cntent Page
<asp:Content id="cnt" ContentPlaceHolderID="cph"> <div id="Page1" class="container"> </div> </asp:Content>
Then CSS might look something like this:
div.container { width: 100%; height: 100%; } div#Page1 { background-color: green; } div#Page2 { background-color: blue; } ...
source share