I can't see the mistake in my HTML file -


i tried validate html code got error:

line 157, column 22: document type not allow element "div" here; missing 1 of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag <div class="details">

the mentioned element not allowed appear in context in you've placed it; other mentioned elements ones both allowed there , can contain element mentioned. might mean need containing element, or possibly you've forgotten close previous element.

one possible cause message have attempted put block-level element (such "<p>" or "<table>") inside inline element (such "<a>", "<span>", or "<font>").

but cant see mistake in code, asking help...

<!--bar 3-->  <div class="mosaic-block bar3">  <a href="http://www.desktopped.com/featured/2010/09/multi-d isplay-setup-with-four-systems-and-a-whole-lot-of- screen-space/" target="_blank" class="mosaic-overlay">  <div class="details">  <h4>multi-display setup 4 systems, wall of screens, , 64tb of storage</h4>  <p>via desktopped</p>  </div>  </a>  <a href="http://www.nonsensesociety.com/2010/12/i-am-not-hu man-portraits/" target="_blank" class="mosaic-backdrop"><img src="http://buildinternet.s3.amazonaws.com/projects/mos aic/64tb.jpg" alt="fotka1"/></a>  </div> 

blocks can't placed in inline elements. in case a inline, , div block, <a><div></div></a> invalid html.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -