<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<link href="Styles/StyleSheet.css" rel="stylesheet" type="text/css" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div class="container">
<div class="header">
HEADER
</div>
<div class="menu">
<ul id="menu" >
<li>
<a href="" class="select" >Home</a>
</li>
<li>
<a href="Default2.aspx" class="select">Content1</a>
</li>
<li>
<a href="Default.aspx" class="select">Content2</a>
</li>
</ul>
</div>
<div class="clear"></div>
<div class="content">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</div>
<div class="clear"></div>
<div class="footer">
<div>FOOTER</div>
</div>
<div class="clear"></div>
</div><!--end of container-->
</form>
</body>
</html>
Default.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--adding a basic page style-->
<div style="background-color:Brown; font-size:larger;">
Content page 1
</div>
</asp:Content>
Default2.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--no style style-->
Content page 2
</asp:Content>