logo       

Re: <div> embedded in <button>: msg#00071

java.enhydra.xmlc

Subject: Re: <div> embedded in <button>


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 <hoju@xxxxxxxx> 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
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise