On 27 Feb 2003, Jacek Kopecky wrote: > 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? You have an open "span" element from line 18. "span" can't contain "div". (I agree that the validator error message is bad.) -- Liam QuinnReceived on Wednesday, 26 February 2003 19:25:07 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:32 UTC