[thelist] XHTML - Nexted Divs

Martyn Haigh McFly at Phiniusgage.com
Sun Dec 29 07:59:01 CST 2002


Hi,

Was wondering if anyone could help me with a bit of validation
technique.

I posted a message titled "Mozilla - float right" withing the last
couples of weeks - basically I was having problems with Mozilla
displaying my page correctly.  I was informed that it was prob as my
page didn't validate with the Doctype I had specified.  I have been
looking in to getting it all to validate (no uppercase tags etc etc) and
it all works fine apart from these errors :

Below are the results of attempting to parse this document with an SGML
parser.

Line 34, column 23: document type does not allow element "div" here;
missing one of "object", "applet", "map", "iframe", "button", "ins",
"del" start-tag
        <div class="band"><a
href="/html/framed.asp?URL=http://www.shutupgrandad.c
                         ^
Line 34, column 128: document type does not allow element "div" here;
missing one of "object", "applet", "map", "iframe", "button", "ins",
"del" start-tag
  ...Up Grandad</a></div><div class="band"><a
href="/html/framed.asp?URL=http://ww
                                          ^
Line 34, column 229: document type does not allow element "div" here;
missing one of "object", "applet", "map", "iframe", "button", "ins",
"del" start-tag
  ... filaments</a></div><div class="band">Seven Words</div>
                                          ^


But I have no idea what is going wrong here!!

The URL for the validator is :
http://validator.w3.org/check?uri=http://www.phiniusgage.com/html/index.
asp (wrap??)
My page URL is http://www.phiniusgage.com

Any help would be much appreciated

Thank you!




More information about the thelist mailing list