Re: <div> embedded in <button>

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Hmmm... then I'm only partially correct because <button> has a content type 
of %flow; as well.  In that case, then XMLC should compile it just fine.  I 
wonder what the issue is?  Is there a specific error that XMLC spits out 
when it sees the following markup?...

<button>
   <div>Text</div>
</button>

Jake

At 01:44 PM 4/16/2003 -0700, you wrote:

>A look at the HTML spec show that Jacob is right.  div has a content
>type of %flow;, which is defined as:
>
>      <!ENTITY % flow "%block; | %inline;">
>
>Thanks, I stand corrected..
>
>Jacob Kjome <[email protected]> writes:
> >
> > That's not true at all.  <div> may contain any content including both text
> > and elements whether inline or block.  The issue is that <button> is an
> > inline element and, as such, can only contain text or other inline 
> elements.
>_______________________________________________
>XMLC mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/xmlc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.