diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index 3936d8c2037c759f107f47554a886da5f8912880..e48a234f9f2aecfea10adbc7dad0121f686d85e5 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -24,9 +24,9 @@
   }
   .modal {
     position: absolute;
-    top: 20px;
-    left: 20px;
-    right: 20px;
+    top: 10px;
+    left: 10px;
+    right: 10px;
     width: auto;
     margin: 0;
   }
@@ -35,6 +35,7 @@
   }
   .modal-header .close {
     padding: 10px;
+    margin: -10px;
   }
 }
 @media (max-width: 768px) {
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 41029ded1f96b4e1136ca9d9b345e7a98f7eae3f..0b221e3b267e41bf7e48194e9a422ef8700f500a 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -723,6 +723,15 @@ form.well {
     word-wrap: break-word;
     word-break: break-all;
   }
+
+  /* Modal example */
+  .modal-example .modal {
+    position: relative;
+    top: auto;
+    right: auto;
+    bottom: auto;
+    left: auto;
+  }
 }
 
 
diff --git a/docs/javascript.html b/docs/javascript.html
index 0bcbe597cb8b44319e2422d78ee08f0b20f7083f..4acd844c11e08b005784014491f2ccf8eb619344 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -193,7 +193,7 @@
         <div class="span9 columns">
           <h2>Static example</h2>
           <p>Below is a statically rendered modal.</p>
-          <div class="well" style="background-color: #888; border: none;">
+          <div class="well modal-example" style="background-color: #888; border: none;">
             <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
               <div class="modal-header">
                 <a href="#" class="close" data-dismiss="modal">&times;</a>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index ee70bf21b4f83dcfeef2fdd5ce82891c82ad8071..edafbbf0f4441ef32b031f95570789101acab08d 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -128,7 +128,7 @@
         <div class="span9 columns">
           <h2>{{_i}}Static example{{/i}}</h2>
           <p>{{_i}}Below is a statically rendered modal.{{/i}}</p>
-          <div class="well" style="background-color: #888; border: none;">
+          <div class="well modal-example" style="background-color: #888; border: none;">
             <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
               <div class="modal-header">
                 <a href="#" class="close" data-dismiss="modal">&times;</a>
diff --git a/less/responsive.less b/less/responsive.less
index 6ba31b5c93101b8c49591a6e03a1cffaf07ce215..fe5e0a7eb2bc3335c265e4ae7fad6b098809ee9c 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -56,15 +56,16 @@
   // Modals
   .modal {
     position: absolute;
-    top: 20px;
-    left: 20px;
-    right: 20px;
+    top:   10px;
+    left:  10px;
+    right: 10px;
     width: auto;
     margin: 0;
     &.fade.in { top: auto; }
   }
   .modal-header .close {
     padding: 10px;
+    margin: -10px;
   }
 
 }