gnucash-htdocs master: Fix some errors found by w3c validator

Frank H.Ellenberger fell at code.gnucash.org
Sat Apr 21 13:53:03 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/295063d4 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/bc32bdc2 (commit)



commit 295063d46c95afa5dad1f0c5447250765fa97e3e
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Sun Apr 8 06:44:36 2018 +0200

    Fix some errors found by w3c validator

diff --git a/externals/gnucash.css b/externals/gnucash.css
index fbf0dc4..a2a6dcc 100644
--- a/externals/gnucash.css
+++ b/externals/gnucash.css
@@ -336,7 +336,7 @@ h1
    border-bottom: solid thin #7F7FAA;
 }
 
-#download {
+.download {
    float:right;
    margin-left:2em;
    margin-right:2em;
diff --git a/externals/header.phtml b/externals/header.phtml
index ea12086..21018f8 100644
--- a/externals/header.phtml
+++ b/externals/header.phtml
@@ -82,7 +82,7 @@ if (isset($homepage)) { ?>
 <!--facebook like button-->
 <div style="padding:0 0 5px 0">
 <div id="fb-root"></div>
-<script>(function(d, s, id) {
+<script type="text/javascript">(function(d, s, id) {
   var js, fjs = d.getElementsByTagName(s)[0];
   if (d.getElementById(id)) {return;}
   js = d.createElement(s); js.id = id;
diff --git a/index.phtml b/index.phtml
index 0077eed..983c2db 100644
--- a/index.phtml
+++ b/index.phtml
@@ -13,7 +13,7 @@ include("externals/menu.phtml");
 
 <div style="width:100%;float:left">
 
-<div id="download">
+<div class="download">
  <div style="float:left;">
   <h2 id="dwnld-box"><?php printf (T_("Download GnuCash %s"), $latest_stable)?></h2>
   <h3><a style="margin-left:10px" href="2.6-release-tour.phtml"><em><?php echo T_("GnuCash 2.6 release tour")?></em></a></h3>
@@ -67,7 +67,7 @@ include("externals/menu.phtml");
 </div>
 
 <!-- Android app info -->
-<div id="download" style="margin-top:2em">
+<div class="download" style="margin-top:2em">
 <h3 style="margin-bottom:1px; margin-top:0px">GnuCash for Android</h3>
   <div style="width:172px; height:100%; float:right; margin-left:15px; margin-right:15px">
   <a href="https://play.google.com/store/apps/details?id=org.gnucash.android" target="_blank">



Summary of changes:
 externals/gnucash.css  | 2 +-
 externals/header.phtml | 2 +-
 index.phtml            | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list