[TYPO3-german] Mailformplus validator ?

Reinhard Führicht rf at typoheads.at
Wed Mar 19 13:43:18 CET 2008



1. Line 37, Column 56: document type does not allow element "div" here;

Es ist nicht erlaubt divs innerhalb eines a-Tags zu platzieren. Also 
einfach das Div außern rum.

<div id="slideshow">
<a href="http://typo1.uni-landau.de"><img class="start" 
src="http://typo1.uni-landau.de/fileadmin/slideshow/image-001.jpg" 
alt="" /></a>
</div>


2. Line 50, Column 5: end tag for "ul" which is not finished.

<ul id="nav_vertikal"></ul>

Eine ul darf zumindest wenn du XHTML verwendest nicht leer sein.

<ul id="nav_vertikal"><li></li></ul>

3. Außerdem steht im Quelltext:

<form name="Formular" method="post" action="index.php" 
enctype="multipart/form-data" />

D.h. der FORM-Tag wird gleich wieder geschlossen.

<form name="Formular" method="post" action="index.php" 
enctype="multipart/form-data">

Wenn ich diese 3 Änderugen mache, ist die Seite valide.
Das hat jedoch nichts mit Mailformplus zu tun.

Schöne Grüße,
Reinhard




Jochen Graf schrieb:
> Hallo,
> 
> ich bin gerade dabei mit Mailformplus "th_mailformplus 4.0.0"
> ein Kontaktformualr zu erstellen.
> Doch beim validator-check habe ich haufenweise Fehlermeldungen und muss 
> gestehen, dass ich nicht mehr weiter weis.
> 
> Hier mal meine Vorlage
> 
> <!-- ###TEMPLATE_FORM### begin -->
> 
> <form name="Formular" method="post" action="index.php" 
> enctype="multipart/form-data">
> <!-- versteckte Felder begin -->
>    ###HIDDENFIELDS###
> <input type="hidden" name="id" value="###PID###">
> <input type="hidden" name="submitted" value="1">
> <input type="hidden" name="L" value="0">
> <!-- versteckte Felder end -->
> <h1>Kontakt</h1>
> 
>  <div class="form-css">
>    <label for="vorname">Vorname:</label>
>    <input type="text" name="vorname" id="vorname" />
> 
>    <label for="name">Name:</label>
>    <input type="text" name="name" id="name" />
> 
>  </div>
> </form>
> 
> <!-- ###TEMPLATE_FORM### end -->
> 
> 
> http://typo1.uni-landau.de/index.php?id=17
> http://validator.w3.org/
> 
> Im meiner Designervorlage habe ich dieses Doctype
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de" 
> xml:lang="de">
> 
> Für einen Tipp wäre ich sehr dankbar.
> 
> th_mailformplus 4.0.0
> 
> 
> 
> 


More information about the TYPO3-german mailing list