Thomas J.S.: IE6 Kompatibilität - Wie lange noch?

Beitrag lesen

Hallo,

Allerdings mal der originale MS-Code der vorher gen. MS-Site:

<style>

.test        { display:none; }
    [attr*="ai"] { display:block; }
</style>

<div class="test" attr="Contains">Test for [*=] (Substring) succeeded.</div>


>   
> Der IE 8 kann es bei mir z.B. mit diesem vom MS veröffentlichten Beispielcode nicht. Ich bin mir nur nicht sicher ob das eine Art Rendermodus-Switching und doctype-Abhängigkeit ist, oder eine "normale" Reaktion auf zu knappen HTML-Code. Mit anderem Code hat er eine ähnliche Geschichte auch nicht hinbekommen, allerdings weiß ich nicht, ob ich das Beispiel aus den Backups schnell raussuchen kann.  
>   
  
\------------------------- korrekt dargestellt ---------------------------  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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"/>  
        <title>SELFHTML Forum: (BROWSER) IE6 Kompatibilität - Wie lange noch?</title>  
        <style type="text/css">  
            [href\*="my"] {  
	            color:red;  
				font-weight:bold;  
				font-family:monospace;  
            }  
        </style>  
    </head>  
    <body>  
		<a href='http://forum.de.selfhtml.org/my/?t=185702&m=1232900' class='title visited'>IE6 Kompatibilität - Wie lange noch?</a>  
	</body>  
</html>  
  
\---------------------- wird nicht dargestellt ------------------------  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
    <head>  
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>  
        <title>SELFHTML Forum: (BROWSER) IE6 Kompatibilität - Wie lange noch?</title>  
        <style type="text/css">  
            [href\*="my"] {  
	            color:red;  
				font-weight:bold;  
				font-family:monospace;  
            }  
        </style>  
    </head>  
    <body>  
		<a href='http://forum.de.selfhtml.org/my/?t=185702&m=1232900' class='title visited'>IE6 Kompatibilität - Wie lange noch?</a>  
	</body>  
</html>  
  
Grund: (wie ein kurzer Test ergibt) documentMode = 5.  
Das heisst, der IE8 nutzt den DOCTYPE-Switch und da kein URL angegeben ist, wechselt er in den 5-er Mode.  
  
  
Ändert man die Zeile auf:  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  
schwups ... zeigt der 8-er die Seite richtig an.  
  
Aber eigentlich habe ich das alles doch unter <http://aktuell.de.selfhtml.org/weblog/kompatibilitaetsmodus-im-internet-explorer-8> zusammengeschrieben.  
  
Grüße  
Thomas
0 70

IE6 Kompatibilität - Wie lange noch?

Sascha
  • browser
  1. 0
    bleicher
    1. 0
      Deus Figendi
  2. 0
    lloyyd
    1. 0
      RuD
  3. 0
    LX
  4. 0
    Gunnar Bittersmann
    1. 1
      LX
      1. 0

        geflame (tut mir leid, ich brauche es gelegentlich:(

        bleicher
        1. 0

          Saudummer Vergleich

          LX
          • meinung
        2. 0
          Klawischnigg
      2. 0
        Gunnar Bittersmann
    2. 0
      Struppi
      1. 0
        Kai345
        1. 0
          Struppi
    3. 0
      Tommy
      1. 0
        Gunnar Bittersmann
        1. 0
          Tommy
          1. 0
            Gunnar Bittersmann
  5. 0
    Ickebins
  6. 0
    hotti
  7. 0
    ryan
    1. 0
      Ickebins
      1. 0
        Ryan
  8. 0
    Cyx23
    1. 2
      Daniel unreg
      1. 0
        Cyx23
        1. 3
          molily
          1. 0
            Cyx23
            1. 0
              molily
              1. 0
                Cyx23
                1. 0
                  Thomas J.S.
                  1. 0
                    Cyx23
                    1. 0
                      Vinzenz Mai
                      1. 0
                        Cyx23
                    2. 0
                      molily
                      1. 0
                        Cyx23
                        1. 0
                          Struppi
                        2. 0
                          Thomas J.S.
                          1. 0
                            Cyx23
                            1. 1
                              Daniel unreg
                              1. 0
                                molily
                                1. 0
                                  Daniel unreg
                              2. 0
                                Cyx23
                                1. 0
                                  Daniel unreg
                                  1. 1
                                    Cyx23
                                    1. 1
                                      Daniel unreg
                                      1. 0
                                        Cyx23
                    3. 1
                      Thomas J.S.
                      1. 0
                        Thomas J.S.
            2. 0
              Thomas J.S.
              1. 0
                Cyx23
                1. 0
                  Thomas J.S.
  9. 0
    Daniel unreg
    1. 0
      suit
      1. 0
        Daniel unreg
        1. 0
          suit
          1. 0
            Daniel unreg
            1. 0
              suit
              1. 0
                Daniel unreg
      2. 0
        Beat
    2. 0
      Klawischnigg
  10. 0
    Klawischnigg
    1. 3
      molily
      1. 0
        Klawischnigg
        1. 0
          suit
          1. 0
            Beat
            1. 0
              suit
  11. 2
    Beat
    1. 0
      Cyx23