Created
January 9, 2011 21:42
-
-
Save robinhouston/772053 to your computer and use it in GitHub Desktop.
Make the maze demo from weblog.jamisbuck.org display correctly in IE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/jamisbuck-mazes.css b/jamisbuck-mazes.css | |
index dfbcc74..021bb07 100644 | |
--- a/jamisbuck-mazes.css | |
+++ b/jamisbuck-mazes.css | |
@@ -1,6 +1,7 @@ | |
.row .maze { | |
padding: 0 0 20px 20px; | |
display: inline-block; | |
+ float: left; | |
} | |
.maze .grid { width: 210px; height: 210px; } | |
@@ -12,7 +13,7 @@ | |
.maze .grid { border: 1px solid black; } | |
-.maze .grid .row div { display: inline-block; border: 1px solid black; background: #ccc; } | |
+.maze .grid .row div { display: inline-block; border: 1px solid black; background: #ccc; float: left; font-size: 1px; line-height: 1px; } | |
.maze .grid div.in { background: #fff; } | |
.maze .grid div.f { background: #faa; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment