一<wbr><wbr> 先创建母版页,然后给母版页用css布局,给母版页也布局和给普通页面布局是一样的</wbr></wbr>
<head runat="server">
<wbr><wbr><wbr> <link href="css/Layout.css" rel="Stylesheet" type="text/css" /><br><wbr><wbr><wbr> <title>无标题页</title><br><wbr><wbr><wbr> <asp:ContentPlaceHolder ID="head" runat="server"><br><wbr><wbr><wbr> </asp:ContentPlaceHolder><br> </head><br> <body><br><wbr><wbr><wbr> <form id="form1" runat="server"><br><wbr><wbr><wbr> <div id="container"><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr> <div id="headerBanner">头标题</div><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr> <div id="leftnav"><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> 左侧<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><strong><asp:ContentPlaceHolder ID="ContentPlaceHolderLeft"</strong></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
<wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> runat="server"></asp:ContentPlaceHolder><br></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> </div><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr> <div id="content"><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> 内容<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><strong><asp:ContentPlaceHolder ID="ContentPlaceHolderConten<wbr>t"</wbr></strong></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
<wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> runat="server"></asp:ContentPlaceHolder></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
<wbr><wbr><wbr><wbr><wbr><wbr><wbr> </div><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr> <div id="rightbanner"><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> 右侧<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><strong><asp:ContentPlaceHolder ID="ContentPlaceHolderRight"</strong></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
<wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> runat="server"></asp:ContentPlaceHolder><br></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> </div><br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr> <div id="footer">页脚</div><br><wbr><wbr><wbr> </div><br><wbr><wbr><wbr> </form><br> </body><br> </html></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
<wbr></wbr>
<wbr></wbr>
二.注意上边ContentPlaceHolder控件,若你想在内容页面中在该区域添加内容,就一定要在母版页中该区域相应位置添加ContentPlaceHolder控件
<wbr></wbr>
<wbr></wbr>
三.添加新项——web内容页面------选择使用的母版页
<wbr></wbr>
四.在内容页中发挥吧