[TYPO3-german] Trotz hasLayout verschobene Inhalte im IE6

ingo preuss ingo.preuss at gmx.net
Sun May 27 14:48:15 CEST 2007


Ist das eine Problem gelöst taucht das nächste auf. Was ich grad nicht 
verstehe, ist das falsche Interpretieren der via TS eingefügten 
Conditional Comments. Allerdings wundere ich mich, dass diese zwischen 
erstem und [ wunder ] zweiten CSS auftauchen.

Der head-Bereich der Site:

<!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="en">
<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/
-->

	<base href="http://www.kigaeno.de/" />
	<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_22fff32f7c.css" />
	<link rel="stylesheet" type="text/css" href="fileadmin/user_upload/Template/2007_03/2u3u1_b.css" />
    
   <!--[if lt IE 7]>
    
       <style>
       
         * html #links { height: 1px; } 
         * html #rechts { height: 1px; }                      
         * html #inhalt { height: 1px; } 
          
       </style>
       
    <![endif]-->
    
    <!--[if IE 7]>
    
       <style>
       
       * html #rechts { zoom: 1; }
       * html #links { zoom: 1; }
       * html #inhalt { zoom: 1; }
         
       </style>  
            
    <![endif]-->

	<title>Elsenstr. 11</title>
	<meta name="generator" content="TYPO3 4.0 CMS" />
	<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>

<link rel="stylesheet" type="text/css" href="fileadmin/user_upload/Template/css/fce_kitavisitenkarte_01.css" />

<script type="text/javascript">
	/*<![CDATA[*/
<!--

  // decrypt helper function
function decryptCharcode(n,start,end,offset) {
	n = n + offset;
	if (offset > 0 && n > end)	{
		n = start + (n - end - 1);
	} else if (offset < 0 && n < start)	{
		n = end - (start - n - 1);
	}
	return String.fromCharCode(n);
}
  // decrypt string
function decryptString(enc,offset) {
	var dec = "";
	var len = enc.length;
	for(var i=0; i < len; i++)	{
		var n = enc.charCodeAt(i);
		if (n >= 0x2B && n <= 0x3A)	{
			dec += decryptCharcode(n,0x2B,0x3A,offset);	// 0-9 . , - + / :
		} else if (n >= 0x40 && n <= 0x5A)	{
			dec += decryptCharcode(n,0x40,0x5A,offset);	// A-Z @
		} else if (n >= 0x61 && n <= 0x7A)	{
			dec += decryptCharcode(n,0x61,0x7A,offset);	// a-z
		} else {
			dec += enc.charAt(i);
		}
	}
	return dec;
}
  // decrypt spam-protected emails
function linkTo_UnCryptMailto(s)	{
	location.href = decryptString(s,-3);
}


// -->
	/*]]>*/
</script>

</head>






[CODE]

<!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="en">
<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/
-->

    <base href="http://www.kigaeno.de/" />
    <link rel="stylesheet" type="text/css" 
href="typo3temp/stylesheet_22fff32f7c.css" />
    <link rel="stylesheet" type="text/css" 
href="fileadmin/user_upload/Template/2007_03/2u3u1_b.css" />
   
   <!--[if lt IE 7]>
   
       <style>
      
         * html #links { height: 1px; }
         * html #rechts { height: 1px; }                     
         * html #inhalt { height: 1px; }
         
       </style>
      
    <![endif]-->
   
    <!--[if IE 7]>
   
       <style>
      
       * html #rechts { zoom: 1; }
       * html #links { zoom: 1; }
       * html #inhalt { zoom: 1; }
        
       </style> 
           
    <![endif]-->

    <title>Elsenstr. 11</title>
    <meta name="generator" content="TYPO3 4.0 CMS" />
    <script type="text/javascript" 
src="typo3temp/javascript_757c080409.js"></script>

<link rel="stylesheet" type="text/css" 
href="fileadmin/user_upload/Template/css/fce_kitavisitenkarte_01.css" />

<script type="text/javascript">
    /*<![CDATA[*/
<!--

  // decrypt helper function
function decryptCharcode(n,start,end,offset) {
    n = n + offset;
    if (offset > 0 && n > end)    {
        n = start + (n - end - 1);
    } else if (offset < 0 && n < start)    {
        n = end - (start - n - 1);
    }
    return String.fromCharCode(n);
}
  // decrypt string
function decryptString(enc,offset) {
    var dec = "";
    var len = enc.length;
    for(var i=0; i < len; i++)    {
        var n = enc.charCodeAt(i);
        if (n >= 0x2B && n <= 0x3A)    {
            dec += decryptCharcode(n,0x2B,0x3A,offset);    // 0-9 . , - 
+ / :
        } else if (n >= 0x40 && n <= 0x5A)    {
            dec += decryptCharcode(n,0x40,0x5A,offset);    // A-Z @
        } else if (n >= 0x61 && n <= 0x7A)    {
            dec += decryptCharcode(n,0x61,0x7A,offset);    // a-z
        } else {
            dec += enc.charAt(i);
        }
    }
    return dec;
}
  // decrypt spam-protected emails
function linkTo_UnCryptMailto(s)    {
    location.href = decryptString(s,-3);
}


// -->
    /*]]>*/
</script>

</head>




Das zweite Stylesheet definiert das FCE. Ich kann problemlos die Klassen 
im "Basis-CSS" definieren. Wie aber sage ich Typo3, dass das CSS fürs 
FCE nicht eingebunden werden soll?

Link zum Problem im IE6: 
http://www.kigaeno.de/unsere-kindergaerten/kindergaertenauswahl/hellersdorf/elsenstr-11/



Layout ohne Conditions: 
http://kigaeno.de/trouble/LayoutIm6undIE7OhneConditions.gif
// Beide geben jeweils das gleiche Bild ab.

Layout der Startseite im IE6 trotz Conditions für alle 3 Spalten: 
http://www.kigaeno.de 
// IE7 zeigt die Startseite fehlerfrei an.

Ich vermute, dass die Art und Weise, wie Typo3 die Conditional Comments 
in den Quelltext einbaut, die fehlerhafte Darstellung verursacht. Oder 
kann es sein, dass das ganze Theater mit dem Einbinden des zweiten CSS 
zusammenhängt?

Alle bisher erhaltenen Tipps sind der Meinung es liege am 
hasLayout-Problem. Keiner der Tippgeber hat bisher ein Wort drüber 
verloren, ob hasLayout richtig oder falsch von mir gelöst wurde.

Gruß, INgo

-- 
--------------------------
PC Notdienst der FU Berlin
Rigaer Strasse 65
10247 Berlin

Fest    030.50577784
Mobil  0176.61097492



More information about the TYPO3-german mailing list