PDA

View Full Version : Error when trying to add editable regions to template.


Inspired
01-04-2010, 04:11 AM
Hi Everyone
I am very new to webite design and dreamweaver, and have just made myself my basic template - and wanted to add 2 editable regions i did that and got the following error - 'There is an error at line 2, column 8 (absolute position 55) of '(file name)': First tag is inside editable region.

I have copied and pasted all the coding below in case its helpful. Any advice how to fix this is much appreciated. It wont even let me drag the template across onto a black page due to the error.

Thanks so much
Nicole

<!-- TemplateBeginEditable name="doctitle" -->
<title>Nicole Jupp Photograpghy</title>
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body,td,th {
font-family: Comic Sans MS, cursive;
font-size: xx-small;
color: #000;
}
body {
margin-left: 0px;
margin-top: 0px;
}
a {
font-family: Comic Sans MS, cursive;
font-size: 14px;
color: #6FC;
}
a:link {
color: #F3C;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #F3C;
}
a:hover {
text-decoration: underline;
color: #3CF;
}
a:active {
text-decoration: none;
}
-->
</style>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<table width="770" border="0" align="center">
<tr>
<td><img src="../Website Banner.jpg" width="770" height="130" alt="banner" /></td>
</tr>
</table>
<table width="770" border="0" align="center" cellpadding="4">
<tr>
<td align="center"><b><a href="../Index.html">Home</a> | <a href="../html/aboutme.html">About Me</a>&nbsp;| <a href="../html/galleries.html">Galleries</a> | <a href="../html/onlineproofing.html">Online Proofing</a>&nbsp;| <a href="../html/pricing.html">Pricing</a> | <a href="../html/contact.html">Contact&nbsp;</a></b></td>
</tr>
</table>
<table width="770" border="0" align="center" cellpadding="20">
<tr>
<td width="339" valign="top"><!-- TemplateBeginEditable name="EditRegion3" -->Text Here<!-- TemplateEndEditable --></td>
<td width="345" height="500"><!-- TemplateBeginEditable name="EditRegion4" -->Photo's here<!-- TemplateEndEditable --></td>
</tr>
</table>
<table width="770" border="0" align="center" cellpadding="4">
<tr>
<td height="25" align="left">Copyright Nicole Jupp 2010.</td>
</tr>
</table>
<embed src="../html/Media/17 She's Got a Way.wma" width="200" height="32" align="right"></embed>

edbr
01-04-2010, 05:01 AM
if this is all it has no head or body tags which will give you problems.
not to mention doc type.
it might be easier to start again

Inspired
01-04-2010, 05:29 AM
haha great!! Thanks - i had no idea! I have just been following tutorials on you tube on how to make a basic page!
I will start again!
Thank so much for you help!

Corrosive
01-04-2010, 06:12 AM
i had no idea! I have just been following tutorials on you tube on how to make a basic page!


Please God save us from Youtube 'Tutorials'. If you are going to learn something then choose a properly sense-checked and vetted learning resource.