summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorot <ot@localhost>2007-06-14 19:40:24 +0000
committerot <ot@localhost>2007-06-14 19:40:24 +0000
commite40a6174107a3e78b7ae50e239c1ef5551e28cf8 (patch)
treee804225ee872678198a1f496a7abdb7d456bf358 /htdocs
parent5eb407a42dc780b61e0c77dbf94c5ca171d40dd1 (diff)
downloadmarkup-validator-e40a6174107a3e78b7ae50e239c1ef5551e28cf8.zip
markup-validator-e40a6174107a3e78b7ae50e239c1ef5551e28cf8.tar.gz
markup-validator-e40a6174107a3e78b7ae50e239c1ef5551e28cf8.tar.bz2
removing extraneous label around submit button causing usability issues
styling button in case of fallback
Diffstat (limited to 'htdocs')
-rwxr-xr-xhtdocs/index.html16
-rw-r--r--htdocs/scripts/w3c-validator.js1
-rw-r--r--htdocs/style/base.css8
3 files changed, 9 insertions, 16 deletions
diff --git a/htdocs/index.html b/htdocs/index.html
index e9d6adc..717aff7 100755
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: index.html,v 1.90 2007-05-31 02:32:14 ot Exp $"
---><!--#set var="date" value="\$Date: 2007-05-31 02:32:14 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.91 2007-06-14 19:40:24 ot Exp $"
+--><!--#set var="date" value="\$Date: 2007-06-14 19:40:24 $"
--><!--#set var="title" value="The W3C Markup Validation Service"
--><!--#set var="relroot" value="./"
--><!--#include virtual="header.html" -->
@@ -32,9 +32,7 @@
<p class="submit_button">
- <label title="Submit for validation">
- <input type="submit" value="Check" />
- </label>
+ <input type="submit" title="Submit for validation" value="Check" />
</p>
</form>
@@ -54,9 +52,7 @@
</fieldset><!-- invisible -->
<p class="submit_button">
- <label title="Submit for validation">
- <input type="submit" value="Check" />
- </label>
+ <input title="Submit for validation" type="submit" value="Check" />
</p>
</form>
@@ -90,9 +86,7 @@
<p class="submit_button">
- <label title="Submit for validation">
- <input type="submit" value="Check" />
- </label>
+ <input title="Submit for validation" type="submit" value="Check" />
</p>
diff --git a/htdocs/scripts/w3c-validator.js b/htdocs/scripts/w3c-validator.js
index 9384f20..edbbafa 100644
--- a/htdocs/scripts/w3c-validator.js
+++ b/htdocs/scripts/w3c-validator.js
@@ -13,7 +13,6 @@ var W3C = {
W3C.TabLinks = W3C.TabSet.getElements('a');
W3C.Sections = $$('fieldset.tabset_content');
-
W3C.Submits = $$('input[type=submit]');
W3C.Forms = $$('form');
diff --git a/htdocs/style/base.css b/htdocs/style/base.css
index deaeaa4..26f96ac 100644
--- a/htdocs/style/base.css
+++ b/htdocs/style/base.css
@@ -163,12 +163,11 @@ textarea {
p.submit_button input {
overflow: visible;
- width: auto;
background: #fff;
- color: #1f2126;
- padding: 0.2em 0.4em 0 0.3em;
+ color: #365D95;
+ padding: 0.3em 0.4em 0.1em 0.3em;
font-size: 1.2em;
- width: 20em;
+ width: 12em;
text-align: center;
border-bottom: 2px solid #444;
border-right: 2px solid #444;
@@ -179,6 +178,7 @@ p.submit_button input {
}
p.submit_button input:active {
+ color: #1f2126;
border-bottom: 1px solid #aaa;
border-right: 1px solid #aaa;
border-top: 2px solid #444;