Ich habe mit dem Validator meine Startseite gechekt.
http://validator.w3.org
http://www.united-warlords.de/startseite.html
Und ich wie ihr nachprüfen könnt bekomme ich folgende Fehlermeldung
No p element in scope but a p end tag seen.
Der fehler muss also aus meinem Template Stammen. Leider kann ich nicht nachvollziehen wo mein Fehler liegt.
Ich setze mal wieder auf euchHTML-Code:<div class="layout_latest teaserimage block<?php echo $this->class; ?>"> <?php if ($this->hasMetaFields): ?> <?php endif; ?> <?php if ( $this->addImage && !$this->teaser_addImage): ?> <div class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>> <?php if ($this->href): ?> <a href="<?php echo $this->href; ?>"<?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>"> <?php endif; ?> <img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" /> <?php if ($this->href): ?> </a> <?php endif; ?> <?php if ($this->caption): ?> <div class="caption"><?php echo $this->caption; ?></div> <?php endif; ?> </div> <?php endif; ?> <?php if ($this->teaser_addImage): ?> <div class="image_container<?php echo $this->teaser_floatClass; ?>"<?php if ($this->teaser_margin || $this->teaser_float): ?> style="<?php echo trim($this->teaser_margin . $this->teaser_float); ?>"<?php endif; ?>> <?php if ($this->teaser_href): ?> <a href="<?php echo $this->teaser_href; ?>"<?php echo $this->teaser_attributes; ?> title="<?php echo $this->teaser_alt; ?>"> <?php endif; ?> <img src="<?php echo $this->teaser_src; ?>"<?php echo $this->teaser_imgSize; ?> alt="<?php echo $this->teaser_alt; ?>" /> </a> <?php if ($this->teaser_caption): ?> <div class="caption"><?php echo $this->teaser_caption; ?></div> <?php endif; ?> </div> <?php endif; ?> <h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2> <p class="teaser"><?php echo $this->teaser; ?><?php echo $this->more; ?></p> <p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p> </div>
Liebe Grüße
Jörg
Lesezeichen