diff --git a/lib/codemirror.css b/lib/codemirror.css
index 1067b3ee6b43e580e772703212d43b13ecd978a1..ebfe4f697fe627f1ec9f2186def6a665d0bc0750 100644
--- a/lib/codemirror.css
+++ b/lib/codemirror.css
@@ -197,6 +197,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
   white-space: normal;
   height: 100%;
   display: inline-block;
+  vertical-align: top;
   margin-bottom: -30px;
   /* Hack to make IE7 behave */
   *zoom:1;