Hi, Although my editor has HTML tidy and it works pretty well, but it doesn't format the code as well and compactly as dreamweaver, like for example: Dreamweaver formats the code like so <div id="nav"> <ul> <li class="selected"><a href="#">One</a></li> <li><a href="#">Two</a></li> <li><a href="#">Three</a></li> <li><a href="#">Four</a></li> <li><a href="#">Five</a></li> </ul> </div> Code (markup): But my editor formats it as: <div id="nav"> <ul> <li class="selected"> <a href="#">One</a> </li> <li> <a href="#">Two</a> </li> <li> <a href="#">Three</a> </li> <li> <a href="#">Four</a> </li> <li> <a href="#">Five</a> </li> </ul> </div> Code (markup): I tried several combinations of tab-size, indent-space etc but no joy. Is there any way to format it more compatly - ie. don't push a, span, br (or custom-defined tags) etc.. to a new line? Many thanks