Hallo
Die Vorlage hab ich so gemacht, dass sie sowohl FF als auch der IE richtig anzeigen.
Wenn ich jetzt aber die Seite von TYPO3 generiern lasse, wird das Design absolut übern Haufen geworfen (zumindestens beim IE (Ver. 6.0)
FireFox ScreenShoot:
Bild: erler-familie.de/…/FireFox.jpg
Internet Explorer (Ver. 6.0) ScreenShoot:
Bild: erler-familie.de/…/InternetExplorer.jpg
Hier mal ein Auszug aus dem Quelltext der Vorlage - wo der IE das richtig anzeigt:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htm xmlns="http://www.w3.org/1999/xhtml" l="">
<head profile="http://gmpg.org/xfn/11">
<title>WEBSEITE</title>
<link href="style.css" type="text/css" rel="StyleSheet" />
</head>
<body>
und das ist der Auszug einer von TYPO3 generierten Seite:
<!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-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->
<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_e99aac0be0.css" />
<link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
<title>STARTSEITE</title>
<meta name="generator" content="TYPO3 4.0 CMS" />
<meta name="AUTOR" content="Benjamin Erler" />
<meta name="DESCRIPTION" content="Webpseite" />
<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>
<script type="text/javascript" src="typo3/sysext/cms/tslib/media/scripts/jsfunc.layermenu.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
<!--
GLV_curLayerWidth["e00b30"]=0;
GLV_curLayerHeight["e00b30"]=0;
GLV_curLayerX["e00b30"]=0;
GLV_curLayerY["e00b30"]=0;
GLV_menuOn["e00b30"] = null;
GLV_gap["e00b30"]=1;
GLV_currentLayer["e00b30"] = null;
GLV_currentROitem["e00b30"] = null;
GLV_hasBeenOver["e00b30"]=0;
GLV_doReset["e00b30"]=false;
GLV_lastKey["e00b30"] = "Menue00b302";
GLV_onlyOnLoad["e00b30"] = 0;
GLV_dontHideOnMouseUp["e00b30"] = 0;
GLV_dontFollowMouse["e00b30"] = 0;
GLV_date = new Date();
GLV_timeout["e00b30"] = GLV_date.getTime();
GLV_timeoutRef["e00b30"] = 250;
GLV_menuXY["e00b30"] = new Array();
GLV_menuXY["e00b30"]["Menue00b300"] = new Array(0,0,"itemIDf658036182","anchorIDf658036182");
GLV_menuXY["e00b30"]["Menue00b301"] = new Array(0,0,"itemIDb54c8c89ad","anchorIDb54c8c89ad");
GLV_menuXY["e00b30"]["Menue00b302"] = new Array(0,0,"itemID3ee7cfb5bc","anchorID3ee7cfb5bc");
GLV_menuXY["e00b30"]["Menue00b303"] = new Array(0,0,"itemID4e0bf5d891","anchorID4e0bf5d891");
function GLe00b30_getMouse(e) {
if (GLV_menuOn["e00b30"]!=null && !GLV_dontFollowMouse["e00b30"]){
}
GL_mouseMoveEvaluate("e00b30");
}
function GLe00b30_hideCode() {
GL_getObjCss("Menue00b300").visibility = "hidden";
GL_getObjCss("Menue00b301").visibility = "hidden";
GL_getObjCss("Menue00b302").visibility = "hidden";
}
function GLe00b30_doTop(WMid,id) {
var parentObject = GL_getObj(GLV_menuXY[WMid][id][2]);
var TI_width = parentObject.width;
var TI_height = parentObject.height;
var anchorObj = GL_getObj(GLV_menuXY[WMid][id][3]);
var TI_x = anchorObj.x;
var TI_y = anchorObj.y;
GLV_menuOn["e00b30"].left = (TI_x+0)+"px";
GLV_menuOn["e00b30"].top = (TI_y+40)+"px";
}
function GLe00b30_restoreMenu() {
}
function GLe00b30_resetSubMenus() {
var resetSubMenu=1;
return resetSubMenu;
}
GLV_timeout_pointers[GLV_timeout_count] = "e00b30";
GLV_timeout_count++;
// -->
/*]]>*/
</script>
<script type="text/javascript">
/*<![CDATA[*/
function T3_onmousemoveWrapper(e) { GL_getMouse(e); GLe00b30_getMouse(e); }
function T3_onmouseupWrapper(e) { GL_mouseUp('e00b30',e); }
function T3_onloadWrapper() { GL_initLayers(); GL_restoreMenu("e00b30"); }
document.onmousemove=T3_onmousemoveWrapper;
document.onmouseup=T3_onmouseupWrapper;
document.onload=T3_onloadWrapper;
/*]]>*/
</script>
</head>
<body
Meine Vermutung ist ja, dass das an dem HEADER liegt:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Ich hab die Seite so vom Dreamweaver generiert bekommen - also ich weiß nicht, was diese Zeile genau bedeutet. Lediglich ist es - soweit konnte ich rausfinden - quasi die Angabe, wie der Browser das Dokument zu handhaben hat.
Kann mir wer helfen, was ich da im TYPO3 im TS noch angeben muss um zum Beipiel den HEADER so zu setzen, wie in der Vorlage (Denn die wird ja richtig angezeigt)?
mfg Benjamin