Quote:
Originally Posted by JSWolf
A <div> is paragraph level. So it cannot be inside another paragraph level such as <p>. A <span> can be inside a <div>. But a <div> cannot be used like it's a <span>.
|
I'm not asking for how you
assume it should be... I assumed the very same thing as you at first. I'm asking if someone can point to the area in the xhtml specs that expressly prohibits it. I can't find it; and as I already mentioned... the W3C validator (XHTML 1.1) doesn't flag it as an error.