Permalink
Browse files

Move style to head to make routes page valid html5

  • Loading branch information...
carlosantoniodasilva committed Jan 5, 2013
1 parent 8202353 commit 60e809cffd274d3e9f412a3cc845686ca8e7fb4f
@@ -113,6 +113,8 @@
a { color: #980905; }
a:visited { color: #666; }
a:hover { color: #C52F24; }
+
+ <%= yield :style %>
</style>
<script>
@@ -1,7 +1,7 @@
-<style type='text/css'>
- #route_table td {padding: 0 30px;}
- #route_table {margin: 0 auto 0;}
-</style>
+<% content_for :style do %>
+ #route_table td { padding: 0 30px; }
+ #route_table { margin: 0 auto 0; }
+<% end %>
<table id='route_table' class='route_table'>
<thead>
@@ -24,6 +24,8 @@
a:hover { color: #fff; background-color:#000; }
h2 { padding-left: 10px; }
+
+ <%= yield :style %>
</style>
</head>
<body>

0 comments on commit 60e809c

Please sign in to comment.