Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed manual HTML shiv, and opted for Google-hosted version instead…

…. Also made it IE conditional.
  • Loading branch information...
commit b59049f476eea89201469e9c05c0d8dd4ed0b013 1 parent 3881cad
@cdharrison authored
Showing with 40 additions and 50 deletions.
  1. +40 −50 index.php
90 index.php
View
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html>
- <head>
+ <head>
<meta charset="utf-8" />
<title>Constitution of the United States of America</title>
@@ -12,44 +12,34 @@
HTML5 Reference: http://w3schools.com/tags/html5.asp
http://orderedlist.com/articles/structural-tags-in-html5
-->
- <!--
- IE has to "learn" our new HTML5 elements:
- http://ejohn.org/blog/html5-shiv/
- -->
- <script>
- document.createElement('header');
- document.createElement('nav');
- document.createElement('article');
- document.createElement('section');
- document.createElement('footer');
- </script>
-
- <!-- Have a Mint, won't you? -->
+ <!--[if IE]>
+ <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Have a Mint, won't you? -->
<script src="/mint/?js"></script>
</head>
<body>
- <nav>
- <ol>
- <li><a href="#i">Article I</a></li>
- <li><a href="#ii">Article II</a></li>
- <li><a href="#iii">Article III</a></li>
- <li><a href="#iv">Article IV</a></li>
- <li><a href="#v">Article V</a></li>
- <li><a href="#vi">Article VI</a></li>
- </ol>
- </nav>
-
<section id="constitution">
+ <nav>
+ <a href="#i">Article I</a>
+ <a href="#ii">Article II</a>
+ <a href="#iii">Article III</a>
+ <a href="#iv">Article IV</a>
+ <a href="#v">Article V</a>
+ <a href="#vi">Article VI</a>
+ </nav>
+
<header>
<h1>The Constitution of the United States of America</h1>
</header>
- <section id="preamble">
- <h2>Preamble</h2>
+ <section id="preamble">
+ <h2>Preamble</h2>
<p>We the People of the United States, in Order to form a more perfect Union,
establish Justice, insure domestic Tranquility, provide for the common
@@ -58,10 +48,10 @@
United States of America.</p>
</section>
- <section id="articles">
+ <section id="articles">
<h2>The Articles</h2>
- <article id="i">
+ <section id="i">
<h3>Article I - The Legislative Branch</h3>
@@ -359,9 +349,9 @@
</section>
- </article><!-- /#i -->
+ </section><!-- /#i -->
- <article id="ii">
+ <section id="ii">
<h3>Article II - The Executive Branch</h3>
@@ -481,9 +471,9 @@
</section>
- </article><!-- /#ii -->
+ </section><!-- /#ii -->
- <article id="iii">
+ <section id="iii">
<h3>Article III - The Judicial Branch</h3>
@@ -539,9 +529,9 @@
</section>
- </article><!-- /#iii -->
+ </section><!-- /#iii -->
- <article id="iv">
+ <section id="iv">
<h3>Article IV - The States</h3>
@@ -599,11 +589,11 @@
</section>
- </article><!-- /#iv -->
+ </section><!-- /#iv -->
- <article id="v">
+ <section id="v">
- <h3>Article V - Amendment</h3>
+ <h3>Article V - Amendment</h3>
<section id="a5s1">
<p>The Congress, whenever two thirds of both Houses shall deem it necessary, shall
propose Amendments to this Constitution, or, on the Application of the
@@ -616,13 +606,13 @@
thousand eight hundred and eight shall in any Manner affect the first and
fourth Clauses in the Ninth Section of the first Article; and that no State,
without its Consent, shall be deprived of its equal Suffrage in the Senate.</p>
- </section>
+ </section>
- </article><!-- /#v -->
+ </section><!-- /#v -->
- <article id="vi">
+ <section id="vi">
- <h3>Article VI - Debts, Supremacy, Oaths</h3>
+ <h3>Article VI - Debts, Supremacy, Oaths</h3>
<section id="a6s1">
<p>All Debts contracted and Engagements entered into, before the Adoption of this
Constitution, shall be as valid against the United States under this
@@ -639,15 +629,15 @@
the United States and of the several States, shall be bound by Oath or
Affirmation, to support this Constitution; but no religious Test shall ever be
required as a Qualification to any Office or public Trust under the United
- States.</p>
+ States.</p>
</section>
- </article><!-- /#vi -->
+ </section><!-- /#vi -->
- <article id="vii">
+ <section id="vii">
- <h2>Article VII - Ratification</h2>
-
+ <h2>Article VII - Ratification</h2>
+
<section id="a7s1">
<p>The Ratification of the Conventions of nine States, shall be sufficient for the
Establishment of this Constitution between the States so ratifying the Same.</p>
@@ -673,11 +663,11 @@
<li>South Carolina - J. Rutledge, Charles Cotesworth Pinckney, Charles Pinckney, Pierce Butler</li>
<li>Georgia - William Few, Abr Baldwin</li>
<li>Attest: William Jackson, Secretary</li>
- </ul>
-
+ </ul>
+
</section>
- </article><!-- /#a7s1 -->
+ </section><!-- /#a7s1 -->
</section><!-- /#articles -->
Please sign in to comment.
Something went wrong with that request. Please try again.