Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 11.06.2008, 13:37
Head Head ist offline
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 11.06.2008
Beiträge: 4
Head befindet sich auf einem aufstrebenden Ast
Standard Falsche Schrift im IE

Hallo,
ich such jetzt schon den ganzen morgen nach der Lösung für mein Problem. Und zwar wird die Schrift im IE falsch dargestellt. Hier mal meine .css

PHP-Code:
@charset "utf-8";
/* CSS Document */

head1 {
    
color:#999999;
    
font-family:Arial;
    
font-weight:bold;
}
text {
    
color:#646464;
    
font-family:Arial;
    
font-size:9pt;

und hier in der .htm
Code:
<head>
<title>Neue Seite 1</title>
<link rel="stylesheet" type="text/css" href="style/common.css">
</head>

....

<head1>Ueberschrift</head1>
<text>Text</text>
Link könnt ihr hier finden:

Neue Seite 1

Im FF wird alles korrekt angezeigt, nur im IE stimmt weder Farbe noch Schriftart...

Bei der Validierung kommt immer folgender Fehler:

Line 18, Column 8: element "HEAD1" undefined.

<head1>IHR PERSONALDIENSTLEISTER</head1>



You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).


Der hilft mir allerdings auch nicht weiter.

Wäre super, wenn mir jemand einen Tip geben könnte.

Mfg Head
Mit Zitat antworten
Sponsored Links