diff --git a/lib/codemirror.css b/lib/codemirror.css
index 18b0bf70dbf23089e37f5a1567fc9cb3a0339500..d7821d17dfe3c2456b72907a8d4dbde90a0942d8 100644
--- a/lib/codemirror.css
+++ b/lib/codemirror.css
@@ -206,9 +206,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
   display: inline-block;
   vertical-align: top;
   margin-bottom: -30px;
-  /* Hack to make IE7 behave */
-  *zoom:1;
-  *display:inline;
 }
 .CodeMirror-gutter-wrapper {
   position: absolute;
@@ -327,9 +324,6 @@ div.CodeMirror-dragcursors {
   background: rgba(255, 255, 0, .4);
 }
 
-/* IE7 hack to prevent it from returning funny offsetTops on the spans */
-.CodeMirror span { *vertical-align: text-bottom; }
-
 /* Used to force a border model for a node */
 .cm-force-border { padding-right: .1px; }