Per l'html io faccio così:
(dreamweaver)
comandi->ottimizza html

P.S. Il layout lo hai fatto tu?