We are discussing the current draft of html5:

http://www.whatwg.org/specs/web-apps/current-work/#block-level

btw, my example of
<div>
<img>
</div>
was not a good one as the proposed new rule allows either inline OR blcok level elements within a div, just not both.

however it does seem to say this would not be allowed, which makes no sense to me:

<div>
<img>
<p></p>
</div>

--

E. Michael Brandt

www.divaHTML.com
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz

www.valleywebdesigns.com
JustSo PictureWindow
JustSo PhotoAlbum

--

Rimantas Liubertas wrote:
I think I'd like to hear from someone really into this stuff - because I
realized that my interpretation would outlaw this:

<div>
<img>
</div>

and surely that must be okay, no?

I am confused, what problem do you try to solve?
Yes, according to specification and DTD as shown earlier it is ok to
have inline, block,
or mixed content in DIV.
Semantics don't have much to do with it - as you may have valid reasons to wrap
single word (or image, or link) in SPAN you may have valid reasons to
wrap it in DIV - they are both generic containers.

Regards,
Rimantas
--
http://rimantas.com/


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to