W3C home > Mailing lists > Public > www-validator@w3.org > February 2003

div inside div?

From: Jacek Kopecky <jacek@systinet.com>
Date: 27 Feb 2003 01:08:30 +0100
To: www-validator@w3.org
Message-Id: <1046304510.31763.18.camel@krava.in.idoox.com>

Hi, I'm trying to get my pages, http://jacek.cz/ , to be as
standards-compliant as possible, so I'm using the validator. My page
doesn't validate, though, and I don't see why not. The error message is
not helpful very much - it says

Line 26, column 20:  document type does not allow element "DIV" here;
missing one of "OBJECT", "MAP", "BUTTON" start-tag 
  <div style="noblock"><img class="quickmenuruler" src="img/reddot.png" width="100
                      ^

I tried to look at the HTML 4.01
[http://www.w3.org/TR/1999/REC-html401-19991224/sgml/dtd.html] but it
seems div inside div (after span) is legal.

Is there a problem in my page or is it a validator bug?

Best regards,

Jacek
Received on Wednesday, 26 February 2003 19:08:41 GMT

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