maddy: Abfrage welcher Broweser und dann bestimmte css Datei

Beitrag lesen

Also habe mal ein kleine HTML Seite gemacht auf der nur Text steht einmal in grau im FF und einmal orange im IE und sie funktioniert tadellos

  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  
       "http://www.w3.org/TR/html4/strict.dtd">  
<html>  
<head>  
  <title>CSS-basiertes Layout</title>  
  <link rel="stylesheet" type="text/css" href="basis.css">  
  
  
  <!--[if IE]>  
    <style type="text/css">@import url(ie.css);</style>  
  <![endif]-->  
  
</head>  
<body>  
  <a>Test</a>  
</body>  
</html>  

die FF CSS

  
a{  
 color:#c8c8c8;  
 font-size:22px;  
}  

und die IE CSS

  
a{  
 color: #F58958;  
}  

Aber im Prinzip mache ich nichts anders als bei meiner großen Seite! Ich glaube langsam ich bin zu blöde dazu!