Skip to content
Browse files

Fixes to IE display of senators page.

  • Loading branch information...
1 parent e4125c1 commit 4b779b135b68d7817ab89e5c67a4767cccf4be24 @GraylinKim GraylinKim committed Feb 15, 2013
Showing with 19 additions and 7 deletions.
  1. +19 −7 src/main/webapp/views/senators.jsp
View
26 src/main/webapp/views/senators.jsp
@@ -34,6 +34,16 @@
margin:0px;
}
+.senator-openleg-links {
+ margin-top:12px;
+}
+
+.senator-nysenate-links {
+}
+
+.senator-district {
+ margin-bottom: 0px;
+}
</style>
<em>Senator Listings are available for: <a href="/legislation/senators/2013">2013<a/> | <a href="/legislation/senators/2011">2011</a> | <a href="/legislation/senators/2009">2009</a></em>
@@ -47,13 +57,15 @@
<div class="senator-block">
<img class="senator-portrait" src="<%=imageUrl%>"/>
<div class="senator-name"><%=senator.getName()%></div>
- District <%=senator.getDistrict().getNumber()%>
- <br/>
- <a href="<%=senator.getUrl()%>" >Home</a> | <a href="<%=senator.getUrl()%>/contact" ">Contact</a>
-
- <br/><br/>
- <a href="<%=searchUrl%>">Sponsored Legislation</a>
- <br/>
+ <div class="senator-district">
+ District <%=senator.getDistrict().getNumber()%>
+ </div>
+ <div class="senator-nysenate-links">
+ <a href="<%=senator.getUrl()%>">Home</a> | <a href="<%=senator.getUrl()%>/contact">Contact</a>
+ </div>
+ <div class="senator-openleg-links">
+ <a href="<%=searchUrl%>">Sponsored Legislation</a>
+ </div>
</div>
<% } %>

0 comments on commit 4b779b1

Please sign in to comment.
Something went wrong with that request. Please try again.