Skip to main content
AmmarSM
Known Participant
June 2, 2012
Question

auto indenting in dreamweaver cs6

  • June 2, 2012
  • 1 reply
  • 25974 views

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>

This topic has been closed for replies.

1 reply

John Waller
Community Expert
Community Expert
June 2, 2012

Edit > Preferences > Code Format

Make sure the Indent box is checked.

AmmarSM
AmmarSMAuthor
Known Participant
June 4, 2012

Hi

this otion is checked already and below is the code i get

<body>

<table>

<th></th>

</table>

</body>

</html>

 Visionary &amp; Dreamer
John Waller
Community Expert
Community Expert
June 4, 2012

Sorry, don't know any other settings.

For me, if I check that option, I get indented code.

If I don't check it, the code is left aligned.