logo       

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

java.enhydra.xmlc

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


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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise