Evening all,
I've had a quick look on Opera and Firefox - both on Linux, and both
pages are identical except for the DJC version which has an extra blank
line after the heading. This is at any screen size by the way.
Opera is version 12.16 for Linux while
Firefox is version 31.0 for Linux.
Looking at the source HTML, I don't see any <P> tags - in either page.
The text appears to be a solid block of text with a pair of <BR> tags
between each "paragraph".
Having seen this line:
<html xmlns:v="urn:schemas-microsoft-com:vml">
I wonder exactly what tool was used to build the HTML page? If it was
Word, or similar, then all bets on standard HTML are off! ;-)
I may be wrong, but surely this is not valid HTML, it's certainly not
strict HTML at the very least.
STOP PRESS - ok, who changed the pages when I was in mid rant??? It
seems that most, but not all of the <br><br> pairs have now been
converted to proper <p> tags. There are still a couple left though in
the headings at the top of the page!
Using Opera, and the latest version of the two pages, passing them
through the W3C html validator gives each page the following 4 errors:
Line 2, Column 15: there is no attribute "XMLNS:V"
<html xmlns:v="urn:schemas-microsoft-com:vml">
You have used the attribute named above in your document, but the
document type you are using does not support that attribute for this
element. This error is often caused by incorrect use of the "Strict"
document type with a document that uses frames (e.g. you must use the
"Transitional" document type to get the "target" attribute), or by using
vendor proprietary extensions such as "marginheight" (this is usually
fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in
the document type you are using, as an undefined element will have no
supported attributes; in this case, see the element-undefined error
message for further information.
How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both
allowed in the chosen document type, and/or use CSS instead of this
attribute. If you received this error when using the <embed> element to
incorporate flash media in a Web page, see the FAQ item on valid flash.
Line 6, Column 85: NET-enabling start-tag requires SHORTTAG YES
…nk rel="stylesheet" type="text/css" href="css/QLManualStyle.css"
media="all" />
For the current document, the validator interprets strings like <FOO />
according to legacy rules that break the expectations of most authors
and thus cause confusing warnings and error messages from the validator.
This interpretation is triggered by HTML 4 documents or other SGML-based
HTML documents. To avoid the messages, simply remove the "/" character
in such contexts. NB: If you expect <FOO /> to be interpreted as an
XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
This warning and related errors may also be caused by an unquoted
attribute value containing one or more "/". Example: <a
href=http://w3c.org>W3C</a>. In such cases, the solution is to put
quotation marks around the value.
Line 6, Column 86: character data is not allowed here
…nk rel="stylesheet" type="text/css" href="css/QLManualStyle.css"
media="all" />
You have used character data somewhere it is not permitted to appear.
Mistakes that can cause this error include:
putting text directly in the body of the document without wrapping it in
a container element (such as a <p>aragraph</p>), or
forgetting to quote an attribute value (where characters such as "%" and
"/" are common, but cannot appear without surrounding quotes), or
using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01
or earlier. To fix, remove the extra slash ('/') character. For more
information about the reasons for this, see Empty elements in SGML,
HTML, XML, and XHTML.
Line 12, Column 7: NET-enabling start-tag requires SHORTTAG YES
<br />
For the current document, the validator interprets strings like <FOO />
according to legacy rules that break the expectations of most authors
and thus cause confusing warnings and error messages from the validator.
This interpretation is triggered by HTML 4 documents or other SGML-based
HTML documents. To avoid the messages, simply remove the "/" character
in such contexts. NB: If you expect <FOO /> to be interpreted as an
XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
This warning and related errors may also be caused by an unquoted
attribute value containing one or more "/". Example: <a
href=http://w3c.org>W3C</a>. In such cases, the solution is to put
quotation marks around the value.
... and the following 2 warnings:
Line 22, Column 12: document type does not allow element "HR" here;
assuming missing "LI" start-tag
<hr>
Line 50, Column 12: document type does not allow element "HR" here;
assuming missing "LI" start-tag
<hr>
HTH
Cheers,
Norm.
--
Norman Dunbar
Dunbar IT Consultants Ltd
Registered address:
27a Lidget Hill
Pudsey
West Yorkshire
United Kingdom
LS28 7LG
Company Number: 05132767
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm