Permalink
Browse files

better placeholder, styling

  • Loading branch information...
1 parent c4ed0d3 commit f48239d98b3d4adfa3de521738c2a87c7f8d7759 Shawn Allen committed Dec 4, 2012
Showing with 9 additions and 4 deletions.
  1. +9 −4 index.html
  2. BIN placeholder.png
View
@@ -49,15 +49,16 @@
height: 500px;
text-align: center;
position: relative;
+ margin: 20px 0;
}
#map {
+ display: block;
position: absolute;
background: #fff;
- display: block;
width: 100%;
height: 100%;
- margin: 20px 0;
+ margin: 0;
}
path.state {
@@ -81,8 +82,8 @@
position: absolute;
z-index: -1;
display: block;
- left: 18px;
- top: 41px;
+ left: 0;
+ top: 0;
}
</style>
@@ -129,6 +130,10 @@
</div>
<script>
+ if (!document.createElementNS) {
+ document.getElementsByTagName("form")[0].style.display = "none";
+ }
+
// field definitions from:
// <http://www.census.gov/popest/data/national/totals/2011/files/NST-EST2011-alldata.pdf>
var percent = (function() {
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f48239d

Please sign in to comment.