AJM Messages: 2369 Registered: April 2006 Location: Surrey, UK
Senior Member
Fixed. uniface/tip06.html was tricky to fix as the w3c validator claims that a <sup></sup> tag inside a <pre></pre> is invalid, although HTML Tidy does not. I changed it to a <span> and the error went away.
jjtoranzo2004 Messages: 261 Registered: September 2012
Senior Member
Tony,
Even though they are php files, the code of each php file is shown inside an html file.
I don't know how these pages are generated, but the html file is almost correct.
and perhaps two lines inside the head element like
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="author" lang="EN" content="Tony Marston">
AJM Messages: 2369 Registered: April 2006 Location: Surrey, UK
Senior Member
Done. I've fixed all the errors, but I cannot do anything about the warnings as the show_source() function generates output with an abundance of '<br />' tags.
AJM Messages: 2369 Registered: April 2006 Location: Surrey, UK
Senior Member
Fixed. Although the URL http://www.tonymarston.net /sample/person_list.php?csxslt=on reports a warning this is misleading as the option 'csxslt=on' causes an XML document to be sent to the browser, which is then transformed into HTML using an XSL stylesheet. Validating an XML document BEFORE it has been transformed will produce different results if you try AFTER it has been transformed. Just remove the 'csxslt=on' option and you will see the difference.
The acceptable syntax has three variants (each with a different meaning):
width=n (e.g. width=50) (lenght - pixels)
width=n% (e.g. width=20%) (lenght - a percentage of the available horizontal space)
width=i* (e.g. width=30*) (multilength)