diff --git a/style.css b/style.css
index c1572abbde3fceb1d969c6b366a501eadb80b122..6abb6d5bbec4bce965cf4b9f0b0d2712abb36f07 100644
--- a/style.css
+++ b/style.css
@@ -314,6 +314,7 @@ div.disabled, p.disabled, label.disabled,
 
 ***************************************************************************** */
 
+/* this pre wraps the whole html #output if html is selected */
 pre {
   text-wrap: pretty;
   word-break: break-word;
@@ -321,6 +322,12 @@ pre {
   font-family: inherit;
 }
 
+/* this is code in #output if preview is selected */
+pre:has(code) {
+  margin-block-start: 1em;
+}
+
+/* default is center and looks ugly */
 th {
   text-align: left;
 }