File: Default.aspx <%@ Page Language="C#" MasterPageFile="~/Default.master" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server"> This is the generic content for this page. <br /> <br /> this is a test.</asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="OtherLinksContent" Runat="Server"> Here's a <a href="http://www.java2s.com">link</a>. <br /> Here's a <a href="http://www.java2s.com">link</a>.<br /> Here's a <a href="http://www.java2s.com">link</a>.<br /> Here's a <a href="http://www.java2s.com">link</a>.</asp:Content> File: Default.master <%@ Master Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <img src="http://www.java2s.com/style/logo.png" alt="java2s.com" /><br /><br /> <asp:contentplaceholder id="MainContent" runat="server"> </asp:contentplaceholder> <div style="border-bottom: 1px solid; font-family: Verdana; background-color: #ffffcc"> <strong> OTHER LINKS<br /> </strong> <asp:ContentPlaceHolder id="OtherLinksContent" runat="server"> </asp:ContentPlaceHolder> </div> <i>This is a simple footer.</i> </div> </form> </body> </html>