Skip to content

Instantly share code, notes, and snippets.

@robinhouston
Created January 9, 2011 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinhouston/772053 to your computer and use it in GitHub Desktop.
Save robinhouston/772053 to your computer and use it in GitHub Desktop.
Make the maze demo from weblog.jamisbuck.org display correctly in IE
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