--- a/dirbrowser/cdbrowser.css
+++ b/dirbrowser/cdbrowser.css
@@ -15,9 +15,10 @@
     text-decoration: none;
 }
 
-/* The top margin is for leaving the space for the fixed header. The line
- * is edited when changing the scale. Do not edit too much because regex */
-body {margin: 30px 0px 0px 0px;}
+/* The top margin is for leaving the space for the fixed header. 
+ * We specify the size  in em to avoid having to edit it when 
+ * changing the font size */
+body {margin: 2em 0px 0px 0px;}
 
 /* The current path indicator is an ul inside a browsepath div inside
    the fixedheader div */