summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-04 14:30:27 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-04 14:30:27 -0400
commit85f28f7921df08d28280d5dde67c3a7d60f4f9dd (patch)
tree1f55a131ca3a1e1148b7e8d492aa832623a694c3
parent248c24de6729332e394b626b1930d1d52047d6af (diff)
downloadgpsd-85f28f7921df08d28280d5dde67c3a7d60f4f9dd.tar.gz
All pages claimed to be W3C valid actually are (again).
-rw-r--r--gpscap.py8
-rw-r--r--www/hardware-head.html.in2
-rw-r--r--www/index.html.in4
3 files changed, 7 insertions, 7 deletions
diff --git a/gpscap.py b/gpscap.py
index 1109517a..99b503a3 100644
--- a/gpscap.py
+++ b/gpscap.py
@@ -56,7 +56,7 @@ class GPSDictionary(ConfigParser.RawConfigParser):
raise ConfigParser.Error("%s has invalid vendor" % section)
def HTMLDump(self, ofp):
- thead = """<table border='1' style='font-size:small;' bgcolor='#CCCCCC'>
+ thead = """<table border='1' style='font-size:small;background-color:#CCCCCC'>
<caption>Listing %s devices from %s vendors</caption>
<tr>
<th>Name</th>
@@ -65,7 +65,7 @@ class GPSDictionary(ConfigParser.RawConfigParser):
<th>Interface</th>
<th>Tested with</th>
<th>NMEA version</th>
-<th width='50%%'>Notes</th>
+<th style='width:50%%'>Notes</th>
</tr>
"""
vhead1 = "<tr><td style='text-align:center;' colspan='7'><a href='%s'>%s</a></td></tr>\n"
@@ -83,7 +83,7 @@ class GPSDictionary(ConfigParser.RawConfigParser):
relevant.append(dev)
relevant.sort()
for dev in relevant:
- rowcolor = "#FFFFFF"
+ rowcolor = "white"
if self.get(dev, "packaging") == "OEM module":
rowcolor = "LimeGreen"
elif self.get(dev, "packaging") == "chipset":
@@ -93,7 +93,7 @@ class GPSDictionary(ConfigParser.RawConfigParser):
elif self.get(dev, "packaging") == "hansdfree":
rowcolor = "DarkCyan"
- ofp.write("<tr bgcolor='%s'>\n" % rowcolor)
+ ofp.write("<tr style='background-color:%s'>\n" % rowcolor)
namefield = dev
if self.has_option(dev, "techdoc"):
namefield = "<a href='%s'>%s</a>" % (self.get(dev, "techdoc"), dev)
diff --git a/www/hardware-head.html.in b/www/hardware-head.html.in
index e689e588..ebfea0e5 100644
--- a/www/hardware-head.html.in
+++ b/www/hardware-head.html.in
@@ -72,7 +72,7 @@
<table border="0">
<tr><td valign="top" align="left">
<a href="http://www.google.com/">
-<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google"></img></a>
+<img src="http://www.google.com/logos/Logo_25wht.gif" style='border:0px' alt="Google"></img></a>
</td>
<td>
<input type="hidden" name="domains" value="@SITESEARCH@"></input>
diff --git a/www/index.html.in b/www/index.html.in
index 4e78cd89..8c0fa922 100644
--- a/www/index.html.in
+++ b/www/index.html.in
@@ -70,7 +70,7 @@
<div id="Content">
-<table class="centered" width="80%" border="1" cellpadding="20" bgcolor="white">
+<table class="centered" width="80%" border="1" cellpadding="20" style="background-color:white" >
<tr>
<td>
<script type="text/javascript"
@@ -496,7 +496,7 @@ Here</a>.</td></tr>
<div style="text-align: left; margin: 1em auto; width: 50%;">
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/custom">
-<table border="0" bgcolor="#ffffff">
+<table border="0" style="background-color:white">
<tr><td valign="top" align="left">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" alt="Google"></img></a>