Link to home
Start Free TrialLog in
Avatar of peterdevadoss
peterdevadoss

asked on

Dymanic Web Template or Master Page - Microsoft Expression Web

I am developing a web site with few pages. I am using Microsoft Expression Web as a tool and I am new to this.How I can create Dynamic Web Template  or Master Page and attach it to other pages?
ASKER CERTIFIED SOLUTION
Avatar of rdivilbiss
rdivilbiss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Okay...the master page needs content @Master and <asp:ContentPlaceHolder ...>'s added.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@ Master Language="VB" %>
<html lang="en">

<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<asp:ContentPlaceHolder id="head" runat="server">
<meta http-equiv="expires" content="now-1">
<meta http-equiv="pragma" content="no-cache">
<meta name="author" content="Roderick Divilbiss">
<meta name="copyright" content="© 2005, 2006 Roderick Divilbiss">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta name="robots" content="index,follow">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="include/css/all.css">
<script type="text/javascript" src="include/allPages.js"></script>
<script type="text/javascript" src="include/allForms.js"></script>
<!-- #BeginEditable "doctitle" -->
<title>Title</title>
<!-- #EndEditable -->
</asp:ContentPlaceHolder>
</head>

<body>

<form id="form1" runat="server">
  <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

      <div id="topmenu">
            <!--#include file="topMenu.htm"--></div>
      <div id="banner">
            <!--#include virtual="include/banner.htm"--></div>
      <div id="mainmenu">
            <!--#include file="mainMenu.htm"--></div>
      <div id="middle">
            <div id="content">
                  <!-- #BeginEditable "content" -->Content<!-- #EndEditable --></div>
            <div id="nav">
                  <!--#include file="leftMenu.htm"--></div>
            <div id="right">
                  <!-- #BeginEditable "right" -->Right<!-- #EndEditable --></div>
            <div id="bottomMenu">
                  <!--#include virtual="include/bottomMenu.htm"--></div>
            <div id="pageCopyright">
                  <!--#include virtual="include/copyright.htm"--></div>
            <div id="legal">
                  <!--#include virtual="include/legal.htm"--></div>
      </div>
  </asp:ContentPlaceHolder>

</form>

</body>

</html>

I like the plain dwt better.