Skip to content

Instantly share code, notes, and snippets.

@Mbaimbai
Created April 22, 2013 19:55
Show Gist options
  • Save Mbaimbai/f8ea92899e394bafe462 to your computer and use it in GitHub Desktop.
Save Mbaimbai/f8ea92899e394bafe462 to your computer and use it in GitHub Desktop.
Master Page
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/bootstrap-responsive.css" rel="stylesheet" />
<link href="css/ourMasterstyle.css" rel="stylesheet" />
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body style="background:url(img/blue.jpg)">
<form id="form1" runat="server">
<div class="row-fluid">
<div class="container" id="container">
<div class="row-fluid">
<div class="header" id="header">
<h1>
<asp:Image ID="Image1" runat="server" ImageUrl="~/img/WebSiteBannerC1001.jpg" AlternateText="" /></h1>
</div>
</div>
<div class="sidebar" id="sideArea">
<div id="menu">
<asp:BulletedList ID="blstMenuItems" runat="server" DisplayMode="HyperLink">
<asp:ListItem Value="Home.aspx">Home</asp:ListItem>
<asp:ListItem Value="Register.aspx">Register as</asp:ListItem>
<asp:ListItem Value="PersonalInformation.aspx">View Personal Information</asp:ListItem>
<asp:ListItem Value="UpdatePersonalInfor.aspx">Update Personal information</asp:ListItem>
<asp:ListItem Value="Payments.aspx">Make Payments</asp:ListItem>
</asp:BulletedList>
</div>
<div id="sideAreaBox" class="sideAreaBox">
<asp:ContentPlaceHolder ID="sideContent" runat="server">
<p><b>place contents in here</b></p>
</asp:ContentPlaceHolder>
</div>
</div>
<div id="mainArea">
<asp:ContentPlaceHolder ID="mainContent" runat="server">
<p><b>Default main content</b></p>
</asp:ContentPlaceHolder>
</div>
</div>
<div class="footer" id="footer">&copy; 2013 HN3</div>
</div>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment