Hi,
I'm writing some HTML code that includes multiple elements nested together, such as:
<html><head></head><body>
<b>
<i>
<p>The 2009 Spring Schedule</p>
<table>
<tr>
<td>
Cell 1
</td>
<td>
Cell 2
</td>
...
</table>
</body>
</html>
Of course, these lines are not correctly formatted. I know if I press Enter that the auto-indent function will activate with the appropriate menu settings, but how can I format and indent code "on demand"? Thanks in advance for your assistance.
Probably the easiest way to give the code your preferred indenting is to set up a customised CodeSweeper using either the built in version or HTML Tidy. I think there's a supplied Tidy setting called Macromedia HTML Tidy Settings that would give you a good starting point.