why the code dont auto indent in dreamweaver i use the latest cs6, as an example the table code below it
should indent the tr tag some spaces more than the parent table tag but it dont i need to do it manually so am i missing something ?
<table>
<tr>
<td>15</td>
<td>15</td>
<td>30</td>
</tr>
<tr>
<td>45</td>
<td>60</td>
<td>45</td>
</tr>
<tr>
<td>60</td>
<td>90</td>
<td>90</td>
</tr>
</table>
With CS5 is the same, non of these settings have worked, but go to:
C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\configuration\Commands\TableCommands.js
and 39-41 lines add some spaces bofere <
var tableCells=' <'+'TD>' + theNBSP + '<'+'/TD>\n';
var tableScopeRowCells=' <'+'TH>' + theNBSP + '<'+'/TH>\n';
var tableScopeColCells=' <'+'TH>' + theNBSP + '<'+'/TH>\n';
this have worked, but if you try to insert new row <td> is not indented:
<table cellspacing="0" cellpadding="0">
<tr>
<th> </th>
<th> </th>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>new row</td>
<td>not indented</td>
</tr>
</table>
and didnt have found how to fix insert new row (below or above same is not indented).
North America
Europe, Middle East and Africa
Asia Pacific