Hallo, zusammen,
ich habe jetzt endlich mal an einer Profilwebsite von mir rumgebastelt. Ich habe auf eine Vorlage zurückgegriffen, die ich vor geraumer Zeit mal angelegt habe. Hab auch nicht mehr so viel mit CSS gemacht. Aber immerhin ist das CSS laut W3C barrierefrei. Die HTML-Inhalte aber leider nicht ganz.
es kommt öfter die Errormeldung zu einem angeblich nicht korrekt geschlossenen Link. Dieser Error betrifft immer einen Bildeinbau Kann mir jemand helfen?
hier der CSS-Bereich wie Bilder integriert werden (das Bild wird klein angezeigt und wenn jemand mit der Maus auf das Bild klickt, dann öffnet es sich mit Hilfe der bekannten "Lightbox" on Originalgröße.
/* BILDER */
dl { display: table;
float: right;
width: 200px;
margin: 10px;
background-color: #000;
border:1px solid #fff;
}
dt img { width: 200px;
height: 130px;
display: block;
}
dd { padding: 4px;
margin: 0px 0 0 0;
font-size: 10px;
background-color: #ccc;
color: #333;
}
und hier ein Beispiel für einen Bildeinbau auf der Website:
<dl>
<dt><a href="http://www.paules-pc-forum.de/forum/images/postbox.jpg" rel="lightbox" title="Mein Briefkasten freut sich auf Nachschub"/a><img src="postbox.jpg" alt="Briefkasten" width="590" height="350" border="0" title="Mein Briefkasten freut sich auf Nachschub" /></a></a></dt>
<dd>Mein (elektronischer) Briefkasten freut sich auf Nachschub</dd>
</dl>
und hier die Meckerei vom W3C-Validator:
Line 93, Column 10: document type does not allow element "dl" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<dl>
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>").
------------------------------------------------------------
Line 94, Column 297: end tag for element "a" which is not open
…" title="Mein Briefkasten freut sich auf Nachschub" /></a></a></dt>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
weiß jemand Rat?
gruß desktopman