diff options
author | Arun Persaud <arun@nubati.net> | 2011-10-05 22:37:19 -0700 |
---|---|---|
committer | Arun Persaud <apersaud@lbl.gov> | 2011-10-05 22:37:19 -0700 |
commit | 0bc070b1d58b0d6880b5357895217dba6b052601 (patch) | |
tree | d4c2896ea4542d55bc6fa2cc5ffd4110b142a016 | |
parent | 65df59544c943a90ae2858b1359e6b8a5065e145 (diff) | |
download | e-DoKo-0bc070b1d58b0d6880b5357895217dba6b052601.tar.gz e-DoKo-0bc070b1d58b0d6880b5357895217dba6b052601.tar.bz2 e-DoKo-0bc070b1d58b0d6880b5357895217dba6b052601.zip |
add some html5
-rw-r--r-- | css/standard.css | 8 | ||||
-rw-r--r-- | include/output.php | 22 |
2 files changed, 14 insertions, 16 deletions
diff --git a/css/standard.css b/css/standard.css index ab284df..b6d1446 100644 --- a/css/standard.css +++ b/css/standard.css @@ -42,7 +42,7 @@ body { background-color: #ddd; } /* the header, footer, etc */ -.header { +header { background-color: #fff; text-align: center; height: 4em; @@ -66,7 +66,7 @@ body { background-color: #ddd; } min-height: 40em; } -.footer { +footer { background-color: #fff; margin-left: 3em; margin-right: 3em; @@ -75,8 +75,8 @@ body { background-color: #ddd; } clear:both; height: 8em; } -.footer .right { float:right; font-size:smaller;} -.footer .left { float:left; font-size:smaller; } +footer .right { float:right; font-size:smaller;} +footer .left { float:left; font-size:smaller; } .status { position:absolute; diff --git a/include/output.php b/include/output.php index 91030ab..9786ad4 100644 --- a/include/output.php +++ b/include/output.php @@ -371,16 +371,14 @@ function output_header() { global $REV; ?> -<!DOCTYPE html PUBLIC - "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" - "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<!DOCTYPE html> +<html lang="en"> <head> <title>e-Doko</title> - <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /> - <link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" /> - <link rel="stylesheet" type="text/css" href="css/standard.css?v=29" /> - <link rel="stylesheet" type="text/css" href="css/dateinput.css?v=1"/> + <meta charset="utf-8" /> + <link rel="shortcut icon" href="pics/edoko-favicon.png" /> + <link rel="stylesheet" href="css/standard.css?v=30" /> + <link rel="stylesheet" href="css/dateinput.css?v=1"/> <script type="text/javascript" src="include/jquery.js"> </script> <script type="text/javascript" src="include/jquery.tablesorter.js"></script> <script type="text/javascript" src="include/jquery.tools.min.js"></script> @@ -422,11 +420,11 @@ function output_header() </script> </head> <body onload="high_last();"> -<div class="header"> +<header> <?php echo '<h1> '._('Welcome to E-Doko').' </h1>'; ?> -</div> +</header> <?php echo "<div class=\"main\">"; @@ -438,7 +436,7 @@ function output_footer() global $REV, $PREF, $INDEX; echo "</div>\n\n"; - echo "<div class=\"footer\">\n"; + echo "<footer>\n"; echo " <p class=\"left\"> copyright 2006,2007,2008,2009,2010 <a href=\"$INDEX?action=about\">Arun Persaud, et al.</a> <br />\n". " Verwendung der [deutschen] Kartenbilder mit Genehmigung <br />der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger <br />\n". " - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH <br />\n". @@ -450,7 +448,7 @@ function output_footer() " src=\"https://secure.newdream.net/green1.gif\" height=\"32\" width=\"100\" /></a>\n". " </p> \n"; echo "\n"; - echo "</div>\n"; + echo "</footer>\n"; echo "</body>\n"; echo "</html>\n"; |