Κάνεις debbuging και βγάζουν error τα <br clear=all> ? Δοκίμασε να τα κάνεις replace με : <br style="clear:both;" />