W3C home > Mailing lists > Public > www-validator@w3.org > December 2006

an ERROR or INNOVATION

From: Casey Benson <casey@caseybenson.com>
Date: Wed, 20 Dec 2006 16:27:50 +1100
Message-ID: <000601c723f7$9b761590$0201010a@george>
To: <www-validator@w3.org>
To whom it concerns,

I have used this bit of code on many occasions for special highlighting:
====================================
<ol type="none" onMouseOver="this.style.color='red'" onMouseOut="this.style.color='#A2A2A2'">BREECHES
<li onMouseOver="this.style.color='black'" onMouseOut="this.style.color='#CCCCCC'">Helsinki V Cotton</li>
</ol>
===============================
However it seems it is an illegal instruction and yet it works precisely with what I wanted.


Your ERROR message is:
============================
NOTE: Whenever possible, give the address of the document you were checking.
Below are the results of attempting to parse this document with an SGML parser. 
  1.. Error Line 135 column 41: start tag for "LI" omitted, but its declaration does not permit this.
  a..  onMouseOut="this.style.color='#A2A2A2'">BREECHES
============================
Also one other item:
What I like to see added is a bit of code that will increase/decrease the font by a percentage of the screen size.
At the moment you are able to use pixels, points or em
This is fine but when you resize the computer screen the text stays the same size and the BASEFONT does not help.
example a line of text with 10 pixels for text size in an 800x600 screen will also be 10 pixels in a 1024x780 screen thus the text will be smaller and sometimes harder to read.

The page I am working on is not released as yet, however the link is:
http://www.trailrace.com.au/IW/index.html
Hope you have some answers for me.
Regards,
Casey...
Received on Wednesday, 20 December 2006 10:42:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT