This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added #content to all views' sections so the header doesn't overlap t…

…he page content
  • Loading branch information...
James Weiner
James Weiner committed Dec 1, 2011
1 parent 35965c8 commit cd7b6088cbeb2c2f2819120a8c85358f97adcf20
@@ -9,7 +9,7 @@
<%= @country.name -%>
<%- end -%>
-<section class="group fco-country">
+<section class="group fco-country" id="content">
<header class="page-header fco-header">
<hgroup>
<h1><a href="<%= root_path %>" title="Back to travel advice home page">Travel advice</a></h1>
@@ -1,4 +1,4 @@
-<section class="group fco-home">
+<section class="group fco-home" id="content">
<header class="page-header fco-header">
<hgroup>
@@ -1,7 +1,7 @@
-<section>
-<h1><%= @mission.location_name %>, <%= @mission.country.name %></h1>
-<h2><%= @mission.designation %></h2>
-<p><%= @mission.address %></p>
-<p><%= @mission.phone %></p>
-<p><%= @mission.url %></p>
+<section id="content">
+ <h1><%= @mission.location_name %>, <%= @mission.country.name %></h1>
+ <h2><%= @mission.designation %></h2>
+ <p><%= @mission.address %></p>
+ <p><%= @mission.phone %></p>
+ <p><%= @mission.url %></p>
</section>
@@ -2,7 +2,7 @@
<%= @travel_news.title -%> | News
<%- end -%>
-<section class="group fco-news">
+<section class="group fco-news" id="content">
<header class="page-header fco-header">
<hgroup>

0 comments on commit cd7b608

Please sign in to comment.