1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

editable area in DW template

Discussion in 'Web Design & Development' started by JulieAsking, Jul 22, 2006.

Thread Status:
Not open for further replies.
  1. JulieAsking

    JulieAsking Thread Starter

    Joined:
    Nov 20, 2002
    Messages:
    129
    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 <div> 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 </td> tag (ie selecting the </tr> tag) will select the whole table and make Cell 1 editable too.

    Here is the code I am working with.

    <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>

    <td width="193" class="tdfirst">&nbsp;</td>
    <td width="193"class="tdsecond">&nbsp;</td>
    <td width="195" class="tdthird">&nbsp;</td>
    </tr>

    </table>

    Julie
     
  2. face1

    face1

    Joined:
    Sep 16, 2005
    Messages:
    182
    If I understand the question correctly, How about nesting a table that is editable like 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>

    <td align="center" valign="top" class="tdfirst"><!-- TemplateBeginEditable name="table" -->
    <table width="580" height="133" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="FFFFFF">
    <tr>
    <td width="193" height="133" class="tdfirst">&nbsp;</td>
    <td width="193"class="tdsecond">&nbsp;</td>
    <td width="195" class="tdthird">&nbsp;</td>
    </tr>
    </table>
    <!-- TemplateEndEditable --></td>
    </tr>
    </table>
     
  3. JulieAsking

    JulieAsking Thread Starter

    Joined:
    Nov 20, 2002
    Messages:
    129
    FAce1

    That is exactly what I wanted. I have never nested tables before. Thanks very much.

    Julie
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/485303

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice