google chrome - Does the browser rearrange HTML if it violates some conditions -
i have template dynamically generating html
<span> <p> words words words </p> <div> <span>text</span></div> </span>
but when check rendered html, more
<span><span> <p>words words words</p> <div><span>text</span></div>
yes, browsers able "fix" broken code quite nowadays. problem here: nesting block elements inside inline elements. please change outer span div!
if need fixing - please tell more template, js or php code? post code if possible.
Comments
Post a Comment