Typo3, Template sieht vorher gut aus, hat nach Typo3 Macken.

*dateien anhängt*
Wäre echt toll wenn du es findest.. ich habe schon aus- und einkommentiert bis zum abwinken... wobei es vielleicht tatsächlich der Quirksmode sein könnte (Validierung klappt auch nicht, und ich sehe den Fehler dort auch einfach nicht.).

Datei1: das Template
Datei2: die Typo3
Datei3: die CSS-Datei dazu

Und den reaktion des validators auf typo3:

Code:
 Below are the results of attempting to parse this document with an SGML parser.

   1. Error Line 5 column 74: character data is not allowed here.

      ..." content="text/html; charset=iso-8859-1" />

      You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).

      ?
   2. Error Line 21 column 6: end tag for element "HEAD" which is not open.

      </head>

      The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

      If this error occured in a script section of your document, you should probably read this FAQ entry.

      ?
   3. Error Line 22 column 5: document type does not allow element "BODY" here.

      <body>

      The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

      One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Wenn das echt der fehler ist führt mich das wohl zu der Frage wie man mit typo3 Valides HTML erstellen lässt. *G*


PS: sorry, mein fehler, hängt jetzt alles dran, hoffe ich :)
 

Anhänge

  • Kopie von foto-template.html.txt
    1,4 KB · Aufrufe: 72
  • Kopie von index.php.htm.txt
    3 KB · Aufrufe: 77
  • Kopie von foto.css.txt
    1,7 KB · Aufrufe: 63
Zuletzt bearbeitet:
Hmmm - ich glaub da hängt nix dran - oder ich sehe die Files nicht :(

Wenn das echt der fehler ist führt mich das wohl zu der Frage wie man mit typo3 Valides HTML erstellen lässt. *G*
Ja - lässt sich - ist aber teilweise aufwändig wenn es Barrierefrei sein muss :) - aber es geht - schönes Beispiel: http://www.theologisches-seminar-elstal.de/

Relativ einfach kannst du es mit xhtmlCleaning im Typoscript erreichen
 
So.... meine Vermutung war richtig :)

Template
HTML:
<?xml version="1.0" encoding="iso-8859-1"?>
<!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">

T3
HTML:
<!DOCTYPE html
	PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

wenn ich den Template header in das andere File kopiere funktionierts auch im IE

versuch mal folgende Config im Root der T3 Seite (ungetestet)
Code:
page.bodyTag                = <body>
config.language             = de
config.doctype              = xhtml_trans
wenn noch was fehlt, schau dir http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/7/3/ an

:)
 
Zurück