Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Nevim kde je v css kodu chyba

Dobrý den,
projel jsem css soubor validátorem a ten mi vyhodil takovouto chybu: (asi teda spatne ukonceny <div>)

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

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

Ale jak ale at koukam jak koukam, nevidim na mem kodu nic spatne, proto vas prosim o opravu...

<!--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 With Four Systems, A Wall of Screens, And 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>

Předmět Autor Datum
<div class="mosaic-block bar3"> <a href="http://www.desktopped.com/featured/2010/09/multi-d isplay…
Redsnake 18.04.2013 15:04
Redsnake
(misto html kod jsem napsal css kod.. ach jo) A co se tyce vasi rady, web pak nefunfuje jak ma, tak…
cssnoob 18.04.2013 15:15
cssnoob
Mimochodem - CSS máš v pořádku: c4hl3f7 a c6nfccv Zato HTML vykazuje vady na kráse Result: 123 Error… poslední
IQ37 18.04.2013 16:07
IQ37

Zpět do poradny Odpovědět na původní otázku Nahoru