Hi,
I've been trying really hard to validate my page, with 4.0 strict, 3.2 and 2.0, but it is still "not a valid document".
This is the URL:
http://www40.brinkster.com/mburt
Any help appreciated![]()
Hi,
I've been trying really hard to validate my page, with 4.0 strict, 3.2 and 2.0, but it is still "not a valid document".
This is the URL:
http://www40.brinkster.com/mburt
Any help appreciated![]()
- Mike
well, it's too advanced for 3.2 and 2.0 and too backwards for 4.0 strict
get rid of element attributes on behalf of stylesheets or inline styles.
<script type="text/javascript"> instead of <script language="javascript">
also I doubt that iframe can receive any event, since it is itself a viewport (i..e. contains html body)
also: none of "stricts" supports iframes and targets, you need to javascript relocation![]()
Last edited by ItsMeOnly; 08-18-2006 at 04:00 PM.
That all? Okay, I'll try to work it out some how.. Thanks
- Mike
that's it, believe or not- my page, being short of JS critical mass, full of unnecesarry gizmos and quirks is short of being xhtml 1.1 strict- I cannot switch, because of targets and some inline styling. many pages are in deed xhtml 1.0 strict, but I keep transitional just for IE.
Firstly, use a modern DOCTYPE.
The language/type problems are pretty self-explanatory.
Also pretty obvious. Use text-align or margin.there is no attribute "ALIGN" .
This should be done using client-side scripting, according to the W3C. As such, the TARGET attribute has been removed from all strict DTDs.there is no attribute "TARGET" .Just like it says. It needs to be inside a text element.document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag .All the iframe attribute problems are due to:there is no attribute "SRC" .... which is the validator telling you not to use an iframe.element "IFRAME" undefined .
Last edited by Twey; 08-18-2006 at 07:36 PM.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
(Shutters).... Oh.. Well, now that my life is ruined..![]()
- Mike
Considering that XHTML 1.1 should not be served as HTML (Appendix C XHTML only applies to XHTML 1.0) and MSIE, amongst other browsers, doesn't support XHTML, serving it to user agents should be last thing on anyone's mind.Originally Posted by ItsMeOnly
What bearing does a Transitional document type have on IE?... but I keep transitional just for IE.
No, it shouldn't be done at all (for example, Checkpoint 10.1 in WCAG), and the target attribute was removed because it's primarily a frame-related feature (and frames do not feature in Strict HTML).Originally Posted by Twey
Mike
For some reason when I try 1.0 strict- the "borders" of "windows" and "scrolled windows" are rendered incorrectly- don't ask me why- it's IE we're talking about.Originally Posted by mwinter
Besides, I don't need to do that stupid "first line comment" workaround...
Bookmarks