Einzelnen Beitrag anzeigen

Andreas L.
(Gast)

n/a Beiträge
 
#48

Re: Problem mit CSS und PHP

  Alt 30. Jan 2006, 18:43
Zitat von Nils_13:
@omata: Nochmal danke !!

Bin gerade dabei alle Warnungen rauszuschmeißen.

Sagt mal was ist trimming empty <...> genau, daran könnte es nämlich liegen, Tidy verbessert das ja bei FF.
Das heißt das er einen Tag ohne Inhalt gefunden hat.

z. B.
Code:
<div align="center"></div>
Lösung:

Code:
<div align="center"></div>

<div align="center">text....</div>

Löschen: <div align="center"></div>
je nachdem um welches Element es sich handelt. Das hätte dir aber der Tidy auch sagen können:
Zitat von HTML Tidy in Mozilla Firefox:
trimming empty <...>
Cause:

A tag is empty or just containing spaces. Space are ignored, due that introduction spaces are trimmed in HTML. This tag is probably really empty or it can be due to a previous error. Tidy is trying to correct the tags of the page.

This can also be a side effect of a tag being implicitely closed by another one just following.
Solution:

Remove the tag.

BAD <font size=2></font>
BAD <font size=2> </font>
BAD <font size=2>
</font>

Here is a sample of a

tag implicitely closed by a block tag <table>. And then

is empty. See the defintion of

for more info

BAD

<table>...

References:

None
Sowas passiert häufig bei WYSIWYG-Editoren, sogar im Dreamweaver
  Mit Zitat antworten Zitat