logo       

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

java.enhydra.xmlc

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


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.

Jake

At 12:54 PM 4/16/2003 -0700, you wrote:

It's not valid HTML.  <div> can only contain block-level content;
use <span> for text.

Mark

Jan Schnabel <j.schnabel@xxxxxxxxxxx> writes:
> i tried to compile a html file, that contains following sequence:
>
> <button>
>   <div>Text</div>
> </button>
>
> Is there any possibility to force XMLC to compile this?
_______________________________________________
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