DW 4 Ultra Dev problem with title bar in template

message from c scarpero on 21 Jul 2004
I am using DW 4 Ultra and am making a website with a template. I would like to
custom make each page title seperate from the template. Every time I try to
enter a title directly on the page, I just get a beep and it will not take it.

Carlos
 
Murray *TMM* replied to c scarpero on 21 Jul 2004
Show me the first 10 lines of code on the page, please.
 
c scarpero replied to Murray *TMM* on 21 Jul 2004
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><!-- #BeginTemplate "/Templates/layout2.dwt" --><HEAD>

<title>The Small Business Resource Center</title><BODY bgcolor="#FFFFFF"><meta
name="keywords" content="small business, how to start a small business,
starting a new business, business startups, web design, web hosting, internet
marketing, communications, articles, growing a business, successful business,
entrepenuership"><meta name="description" content="The Small Business Resource
Center is your one stop shop for starting and growing your small
business."><meta name="author" content="Carlos Scarpero"><meta name="generator"
content="Dreamweaver 4"><meta name="copyright" content="Copyright 2004 by
Carlos Scarpero">
<TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border="0">
<TBODY>
<TR>
<TD height="169" valign="top">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="13%"><img src="manpda.jpg" width="97" height="208"
alt="Business Person 1"></td>
<td width="74%">
<div align="center"><font size="+3"><b>The Small Business
Resource
Center</b></font></div>
</td>
 
Murray *TMM* replied to c scarpero on 22 Jul 2004
Your page is munged rather badly.

You have a <body> tag within the <head> region. And furthermore, you have
no </head> tag.

This will never do.

In addition, you are lacking the editable region that DW normally places
around the <title> tag.

How did your page become so distressed?

You can fix both of these problems with a little careful code management in
the template page.

The code should look like this -

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
<HTML><!-- #BeginTemplate "/Templates/layout2.dwt" --><HEAD>
<!-- #BeginEditable "doctitle" --><title>The Small Business Resource
Center</title><!-- #EndEditable -->
<meta name="keywords" content="small business, how to start a small
business,
starting a new business, business startups, web design, web hosting,
internet
marketing, communications, articles, growing a business, successful
business,
entrepenuership"><meta name="description" content="The Small Business
Resource
Center is your one stop shop for starting and growing your small
business."><meta name="author" content="Carlos Scarpero"><meta
name="generator"
content="Dreamweaver 4"><meta name="copyright" content="Copyright 2004 by
Carlos Scarpero"></head>
<BODY bgcolor="#FFFFFF">
 

Archived message: DW 4 Ultra Dev problem with title bar in template (Macromedia Dreamweaver)