Re: [VE][65] New Error Message Suggestion - HELP - SUPPORT, there must be a bug !!!

On Sat, 22 May 2004, Thomas Ulrich wrote:

> <span class="text1">
> 
> <ul class="ul4">
[...]
> Line 80, column 15: document type does not allow element "UL" here;
> missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
> 
> <ul class="ul4">
> 
> The mentioned element is not allowed to appear in the context in which
> you've placed it; the other mentioned elements are the only ones that
> are both allowed there and can contain the element menetioned. This
> might mean that you need a containing element, or possibly that you've
> forgotten to close a previous element.
> 
> One possible cause for this message is that you have attempted to put a
> block-level element (such as "<p>" or "<table>") inside an inline
> element (such as "<a>", "<span>", or "<font>").
[...]
> YOU MUST HAVE A BUG IN YOUR CHECCKER!
> because, since when a <ul class="-any-">-tag is not allowed anymore?

"span" (an inline element) cannot contain "ul" (a block-level element).  
If you need a generic container for block-level elements, use "div"  
instead of "span".

-- 
Liam Quinn

Received on Saturday, 22 May 2004 11:28:15 UTC