tutorials.de Buch-Aktion 05/2012
ERLEDIGT
JA
ANTWORTEN
6
ZUGRIFFE
674
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
AUF DIESES THEMA
ANTWORTEN
  1. #1
    xkoy xkoy ist offline Mitglied Gold
    Registriert seit
    Jun 2002
    Ort
    Kitzbühel
    Beiträge
    119
    Morgen,

    ich hatte 19 fehler, nun hab ich alles behoben BIS auf einen Fehler. Aber seht selbst :

    http://www.validome.org/validate/?ur...chler-musig.at

    und was ist unter HINWEISE gemeint, sobald ich nämlich das einfüge:

    <?xml version="1.0" encoding="iso-8859-1"?>

    geht meine Homepage nicht mehr... darum habe ich es mit META gemacht.

    Hoffe mir kann jemand helfen !!

    Danke
     

  2. #2
    Avatar von Sven Mintel
    Sven Mintel Sven Mintel ist offline Mitglied
    Registriert seit
    Aug 2003
    Beiträge
    18.238
    Blog-Einträge
    6
    Moin,

    ich glaube den Validator stört eher, dass du mitten im Dokument nochmals <html> verwendest:
    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    
    <!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" xml:lang="en" lang="de">
     
     
    <head>
     
     
    <title>Kitzb&uuml;hler-Musig.at</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    </head>
     
    <body>
    <div id="rahmen">
    <div id="top">
     
    <a style="margin:0 20px;" href="index.php?action=start">Start</a>
    <a style="margin:0 20px;" href="index.php?action=spielorte">Auftritte</a>
    <a style="margin:0 20px;" href="index.php?action=bilder">Bilder</a>
    <a style="margin:0 20px;" href="index.php?action=media">Media</a>
    <a style="margin:0 20px;" href="index.php?action=kontakt">Kontakt</a>
    </div>
     
    <div id="inhalt">
    [COLOR="Red"]<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Kitzb&uuml;hler-Musig.at</title>
     
    <link rel="stylesheet" type="text/css" href="style.css" />
    </head>
    <body>[/COLOR]
    <div id="haus">
     <div id="boxlinks"><img src="bilder/title1.jpg" alt="Kitzb&uuml;hel" width="250" height="300" class="rand"></img></div>
     <div id="boxrechts">
     <p>Hallo du da ! Hallo du da ! Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da </p>
    </div>
    </div> 
     
     
     
     
     
     
    <div id="haus1">
     <div class="boxlinks1"><p>Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !Hallo du da !</p></div>
     
     <div class="boxrechtsunten"><img src="bilder/title1.jpg" alt="Kitzb&uuml;hel" width="250" height="300" class="rand"></img></div>
    </div> 
    <div class="clear"></div>
     
    [COLOR="Red"]
    </body>
    </html>[/COLOR]</div>
     
    <div id="bottom">
    <span style="color:#c71585;">132</span> Besucher seit Dezember 2008,
    <span style="color:#c71585;">60</span> davon Heute, 
    <span style="color:#c71585;">2</span> gerade Online.
    </div>
     
    <div id="copy" class="copy1">
    2008 &copy; <a href="http://www.pixelgenau.at" target="_blank">pixelgenau.at</a>
     
    </div>
    </div>
     
    </body>
    </html>
     

  3. #3
    Maik Tutorials.de Gastzugang
    Hi,

    bei der include()-Technik und dem nachträglichen Laden von Inhalten (index.php?action=XXX) wird kein vollständiges HTML-Dokument in das Hauptdokument geladen, sondern nur der Teil, der den Inhalt des Dokumentkörpers bildet - vergleiche hierzu Svens rotmarkierte Tags, die im Dokumentkörper des Hauptdokuments nichts zu suchen haben.

    mfg Maik
     

  4. #4
    xkoy xkoy ist offline Mitglied Gold
    Registriert seit
    Jun 2002
    Ort
    Kitzbühel
    Beiträge
    119
    Abend,

    wieder ein kleines Problem.

    Bekomme folgende Fehlermeldung NICHT weg:

    http://www.validome.org/validate/?ur...Chler-musig.at

    Hier ist mein Header Bereich:

    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    
    <!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" xml:lang="de-DE" lang="de-DE">
    <head>
        <title>Kitzb&uuml;hler-Musig.at</title>
        <link rel="stylesheet" type="text/css" href="style.css" />
        <meta http-equiv="Content-Style-Type" content="text/css" />
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    </head>

    Möchte gern UTF-8 benutzen, hab ich oben ja auch, aber beim Validom.de die HINWEISE da, da steht was anderes, das es nicht gesetzt wäre.

    Für Hilfe wie immer sehr Dankbar...
     

  5. #5
    Registriert seit
    Dec 2002
    Ort
    Trier
    Beiträge
    17.502
    Blog-Einträge
    10
    Und wie sieht’s mit diesem Ratschlag aus?
    Fügen Sie entweder eine XML-Deklaration mit einer Angabe einer Zeichenkodierung am Anfang des Dokumentes ein (z. B. <?xml version="1.0" encoding="utf-8"?>, oder veranlassen Sie Ihren Server das Senden eines entsprechenden HTTP-Header (bei PHP mit header('Content-Type: text/html; charset=utf-8');).
     
    Markus Wulftange

  6. #6
    xkoy xkoy ist offline Mitglied Gold
    Registriert seit
    Jun 2002
    Ort
    Kitzbühel
    Beiträge
    119
    Habs schon erledigt. Da ich in der index.php die start.php inkludiere, stand alles doppelt drinn im quelltext im Browser nachher ! Darum spuckte er Fehler aus... Hab alles rausgekillt nun ist fein

    Trotzdem Danke !
     

  7. #7
    Maik Tutorials.de Gastzugang
    1. Was hat diese Validator-Fehlermeldung mit der Formatierungssprache CSS zu tun?
    2. Die Fehlermeldung hast du gestern schon in einem anderen Thema im HTML-Forum vorgestellt, und darauf zwei Antworten erhalten.
    3. Diese beiden Themen werden nun von mir an dieser Stelle zusammengeführt.
    4. Bitte vermeide zukünftig solche Doppelposts - siehe hierzu Netiquette Nr.12.
    5. Vielen Dank!
    mfg Maik
     

Ähnliche Themen

  1. Validierungsproblem
    Von Carrear im Forum Javascript & Ajax
    Antworten: 5
    Letzter Beitrag: 17.10.07, 00:35