diff --git a/inc/html.php b/inc/html.php
index 4ab687b5c2b08ad98502dd0ffb08bad52988912a..8ecdad74961894009dc96e256d6dfb024095905a 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -271,6 +271,7 @@ function html_show($txt=''){
     print p_locale_xhtml('preview');
     print '<div class="preview">';
     print html_secedit(p_render('xhtml',p_get_instructions($txt),$info),$secedit);
+    print '<div class="clearer"></div>';
     print '</div>';
 
   }else{