editable areas in DW template

They have: 10 posts

Joined: Jun 2006

I am trying to make a page into a template in Dreamweaver.

I have a table with 1 row and 4 cells.

The first cell contains a which holds a css text navigation menu and this cell should not be editable.

I want the remaining 3 cells to be editable but in a way that I can implement colspan when I need to in the future.

I cannot see how I could select these 3 cells in a way that would give me that flexibility because selecting beyond the final tag (ie selecting the tag) will select the whole table and make Cell 1 editable too.

Here is the code I am working with.

 
 
 

Xtreme

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

Get the div out of the table and put in in another or use other ways (like CSS) to position it.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I think you can move around the editble regions once you've got them positioned. I'll go try that out. I have done that before, or just created the editable regions by hand.

It is a little odd to have a div with CSS navigation inside a table Confused Like trying to put a CD into an 8 track player Smiling

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Okay, it didn't want to let me make three cells a template object automatically but it didn't have a problem with this:

<table width="730" border="0" align="center" cellspacing="0" cellpadding="0" bgcolor="FFFFFF">
<tr>
<td width="150" valign="top">
<div id="button">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">&nbsp;</a></li>
<li><a href="#">&nbsp;</a></li>
<li><a href="#">&nbsp;</a></li>
</ul>
</div>
</td>

<!-- TemplateBeginEditable name="EditRegion1" -->
<td width="193" class="tdfirst">&nbsp;</td>
<td width="193"class="tdsecond">&nbsp;</td>
<td width="195" class="tdthird">&nbsp;</td>

<!-- TemplateEndEditable -->
</tr>

</table>
'

I tested it out and it seems to work okay, could even merge cells.

You were missing a " on the home link BTW.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.