Ergebnis 1 bis 3 von 3

Thema: header, doctype/charset ändern

      
  1. #1
    Forum Newbie
    Registriert seit
    15.07.2008
    Alter
    30
    Beiträge
    43

    header, doctype/charset ändern

    Guten Abend!

    Ich hab wiedermal ein Problem...

    Habe meine Seite durch den Validator geschickt und der spuckt mir folgendes aus:

    PHP-Code:
    Line 5Column 73:         
    NET-enabling start-tag requires SHORTTAG YES

    .…pe" content="text/htmlcharset=iso-8859-1" />               
                      
    The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/'
    terminates the tag <FOO (with an implied '>').  However, since many
    browsers don't interpret it this way, even in the presence of an HTML 4.01
    Strict DOCTYPE, it is best to avoid it completely in pure HTML documents
    and reserve its use solely for those written in XHTML. 
    Nach allem was ich bisher gelesen habe, ist wohl das / schuld.

    Wie kann ich denn die Angaben im Head-Bereich, also den Doctype etc ändern? automake-template übernimmt da nicht die Daten aus meinem Template...

    Was ich habe:

    PHP-Code:
    <!DOCTYPE html
        
    PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <
    html>
    <
    head>
        <
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

    <!-- 
        
    This website is powered by TYPO3 inspiring people to share!
        
    TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
        
    TYPO3 is copyright 1998-2008 of Kasper SkaarhojExtensions are copyright of their respective owners.
        
    Information and contribution at http://typo3.com/ and http://typo3.org/
    --> 
    und was ich gern hätte:

    PHP-Code:
    <?xml version="1.0" encoding="utf-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" lang="de">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!-- 
        This website is powered by TYPO3 - inspiring people to share!
        TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
        TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
        Information and contribution at http://typo3.com/ and http://typo3.org/
    -->
    Hat jemand einen Denkanstoß für mich?

    Vielen Dank!

  2. #2
    Forum Aktivist
    Registriert seit
    10.07.2008
    Beiträge
    70
    Code:
    config {
       #standardspracheinstellungen
          language = de
          locale_all = de_DE
          htmlTag_langKey = de
       #DOCType setzen auf XHTML trans
          doctype = xhtml_trans
       #erzeugten XHTML code bereinigen
          xhmtl_cleaning = all
    
       #internet explorer - quirks mode
          [browser = msie]
          config.doctypeSwitch = 1
          [GLOBAL]
    }
    Versuchs mal damit
    Ansonsten gibts dazu hier im Forum schon einige Beiträge...

  3. #3
    Forum Newbie
    Registriert seit
    15.07.2008
    Alter
    30
    Beiträge
    43
    Vielen Dank, das hat geholfen! :-)

 

 

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Facebook Kommentare

Ähnliche Themen

  1. Charset
    Von Frederik Mathem im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 2
    Letzter Beitrag: 14.05.2008, 21:32
  2. Charset / Zeichensatz lässt sich nicht ändern
    Von Björn im Forum Direct Mail
    Antworten: 1
    Letzter Beitrag: 10.04.2008, 12:22
  3. Header-Bild je nach Menupunkt ändern
    Von grambler im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 12
    Letzter Beitrag: 10.03.2008, 08:30
  4. Charset - komisches Problem mit Umlauten
    Von sventb im Forum TYPO3 4.x Fragen und Probleme
    Antworten: 2
    Letzter Beitrag: 08.01.2007, 15:02
  5. Charset Umschaltung
    Von alfalive im Forum TYPO3 3.x Fragen und Probleme
    Antworten: 4
    Letzter Beitrag: 11.12.2005, 19:32

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

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 71 72 73 74