---
title: "Firefox ignoriert CSS Stlyesheet"
url: "https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet"
source: "typo3.net"
tags: ["Frontend","Styling","Frage","HTML & CSS"]
created: "2005-12-15"
last_reply: "2005-12-16"
replies: 9
solved: false
page: 1
pages: 1
lang: "de"
---

# Firefox ignoriert CSS Stlyesheet

Frontend › Styling · 9 Antworten · gestartet 2005-12-15

## Eröffnungsbeitrag

**Andrea_Herzog** · 2005-12-15 · [Beitrag #1](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/1)

Hallo,
ich habe ein CSS erstellt.
Die Einstellungen funktionieren im IE. Der Firefox ignoriert aber die Angaben für Links und und Überschriften (Layout1...4) komplett.
Schriftgröße etc. nimmert er soweit hin.

Beide Browser machen allerdings Probleme bei Mountseiten. Dort werden die Angaben auch vom IE weitgehend ignoriert (nur Überschriften nimmt er an).

Woran kann das liegen?

Gruß
Andrea

## Antworten

### [#2](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/2) · haes · 2005-12-15

Poste am besten mal die Stelle im CSS-Code, in der du das Aussehen der Links definierst.

### [#3](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/3) · Andrea_Herzog · 2005-12-15

Hallo Haes,

aber gerne,
hier ist es.

Gruß
Andrea

```html
page.stylesheet = BODY {
background: #FFFFFF;
color: #000000;
font-family: Tahoma, Verana, sans-serif;
font-size: 11px;
font-weight: normal;
margin-bottom: 10;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-decoration: none;
}

/* allgemein Text, inkl. Wrap ohne Zeilenabstand*/  
p {
background: transparent;
color: #000000;
font-family: Tahoma, Verana, sans-serif;
font-size: 11px;
font-weight: normal;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-decoration: none;

TD {
font-family: Tahoma, Verana, sans-serif;
font-size: 11px;
font-weight: normal;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-decoration: none;
}

A:link {
background-color: transprent;
color: #5C5C5C;
font-family: Tahoma, Verana, sans-serif;
font-size: 11px;
text-decoration: underline;
}

A:visited {
background-color: transparent;
color: #005FA3;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
text-decoration: underline;
}

A:hover {
background-color: transparent;
color: #868686;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
text-decoration: underline;
}

A:active {
background-color: transparent;
color: #000000;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
text-decoration: underline;
}

h1 {
background-color: transparent;
color: #FFFFFF;
font-family: Tahoma, Verdana, sans-serif;
font-size: 0px;
text-decoration: none;
}

h4 {
background-color: transparent;
color: #000000;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
font-weight: bold;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-decoration: none;
}
.h4 {
background-color: transparent;
color: #000000;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: none;
}
```

### [#4](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/4) · haes · 2005-12-16

> ```html
> A:link {
> background-color: transprent;
> ```

transprent anstatt transparent ist der einzige Fehler, der mir jetzt auffällt, aber daran liegen die unterschiedlichen Interpretationen sicherlich nicht. Man müßte sich jetzt halt mal den Quelltext der Seite im ganzen anschauen um zu sehen woran es liegt!

### [#5](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/5) · christian_ku · 2005-12-16

Hallo Andrea,

in der css-datei fehlt die geschweifte Klammer, die den p-Abschnitt schliesst. Vielleicht liegts daran.

### [#6](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/6) · Andrea_Herzog · 2005-12-16

Hallo Christian,
nein, sorry, die hatte ich schon hinzugefügt.

Das ist es leider nicht. Ich hatte es auch schon gehofft.

Aber vielen Dank für deine Post.

Gruß
Andrea

### [#7](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/7) · Andrea_Herzog · 2005-12-16

Hallo Haes,
danke, das hatte ich noch nicht gesehen (Sch..Tippfehler).
Ich poste mal das ganze CSS. Alles, was hier mit "Vorname pn heißt, wird in diesem CSS (noch) nicht genutzt.
Von anderen CSS, die ich benutze unterscheidet sich dieses durch den p - Bereich. Aber daran liegt es nicht. Entferne ich den Bereich, geht es trotzdem nicht.

Danke für eure Hilfe,
Andrea

```html
BODY {

background: #FFFFFF;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: normal;

margin-bottom: 10;

margin-left: 0;

margin-right: 0;

margin-top: 0;

text-decoration: none;

}

/* allgemein Text, inkl. Wrap ohne Zeilenabstand*/  
p {

background: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: normal;

margin-bottom: 0;

margin-left: 0;

margin-right: 0;

margin-top: 0;

text-decoration: none;
}

TD {

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: normal;

margin-bottom: 0;

margin-left: 0;

margin-right: 0;

margin-top: 0;

text-decoration: none;

}


TEXTAREA {

border-bottom-width: 1px;

border-color: #000000;

border-left-width: 1px;

border-right-width: 1px;

border-style: solid;

border-top-width: 1px;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: bold;

text-indent: 2px;

text-align: justify;

}



INPUT {

background-color: transparent;

border-bottom-width: 1px;

border-color: #000000;

border-left-width: 1px;

border-right-width: 1px;

border-top-width: 1px;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: normal;

text-indent: 2px;

}



INPUT.pn-text {

background-color: #DDEEFF;

border-bottom-width: 1px;

border-color: #000000;

border-left-width: 1px;

border-right-width: 1px;

border-top-width: 1px;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: normal;

text-indent: 2px;

}



INPUT.pn-button {

background-color: #FF0000;

border-bottom-width: 1px;

border-color: #000000;

border-left-width: 1px;

border-right-width: 1px;

border-top-width: 1px;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: normal;

text-indent: 2px;

}



INPUT.r-button {

background-color: transparent;

font-family: Tahoma, Verdana, sans-serif;

}



SELECT {

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: bold;

}



SELECT.pn-text {

background-color: #D9DCC2;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: bold;

}



A:link {

background-color: transparent;

color: #5C5C5C;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

text-decoration: underline;

}



A:visited {

background-color: transparent;

color: #005FA3;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

text-decoration: underline;

}



A:hover {

background-color: transparent;

color: #868686;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

text-decoration: underline;

}



A:active {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

text-decoration: underline;

}


h1 {
background-color: transparent;

color: #FFFFFF;

font-family: Tahoma, Verdana, sans-serif;

font-size: 0px;

text-decoration: none;

}

h4 {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

margin-bottom: 0;

margin-left: 0;

margin-right: 0;

margin-top: 0;

text-decoration: none;

}

.h4 {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}


/* Klasse f&uuml;r den Header der Suche*/
.csc-searchResultHeader {

background-color: #CCCCCC;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}

.csc-noSearchResultMsg {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}

.csc-searchResult {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: normal;

text-decoration: none;

}

.csc-searchResultRange {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}

.pn-normal {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: normal;

text-decoration: none;


}



.pn-normal A:link {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

text-decoration: none;

}



.pn-normal A:visited {

background-color: transparent;

color: #34397D;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

text-decoration: none;

}



.pn-normal A:hover {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}



.pn-normal A:active {

background-color: transparent;

color: #34397D;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}



.pn-title {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11 px;

font-weight: bold;

text-decoration: none;

}



.pn-title A:link {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11 px;

font-weight: bold;

text-decoration: none;

}



.pn-title A:visited {



background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}



.pn-title A:hover {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}

.pn-title A:active {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}


.pn-sub {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-weight: normal;

text-decoration: none;

}



.pn-sub A:link {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-style: normal;

text-decoration: none;

}



.pn-sub A:visited {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-style: normal;

text-decoration: none;

}



.pn-sub A:hover {

background-color: #FFFFFF;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-style: normal;

text-decoration: none;

}



.pn-sub A:active {

background-color: transparent;

color: #FF0000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 10px;

font-style: normal;

text-decoration: underline;

}



.pn-logo {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

letter-spacing: 3px;

text-decoration: none;

}



A.pn-logo:link {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

letter-spacing: 3px;

text-decoration: none;

}



A.pn-logo:visited {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

letter-spacing: 3px;

text-decoration: none;

}



A.pn-logo:hover {

background-color: #B1B78B;

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

letter-spacing: 3px;

text-decoration: none;

}



A.pn-logo:active {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

letter-spacing: 3px;

text-decoration: none;

}



.pn-logo-small {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}



.pn-pagetitle {

background-color: transparent;

color: #000000;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

font-weight: bold;

text-decoration: none;

}



.QuickLink { 

background-color: #33397C;

font-family: Tahoma, Verdana, sans-serif;

color: #FFFFFF; 

text-decoration: none;

}

A.QuickLink:link, A.QuickLink:visited, A.QuickLink:active, A.QuickLink:hover { 

background-color: #33397C;

font-family: Tahoma, Verdana, sans-serif;

color: #FFFFFF; 

text-decoration: none;

}

A.linkou:link, A.linkou:visited, A.linkou:active, A.linkou:hover {

text-decoration: none;

}



TD.veranst_hg {

background-image: url(../images/veranst_hg.gif);

color: #FFFFFF;

}



.veranst_hg {

color: #FFFFFF;

font-family: Tahoma, Verdana, sans-serif;

font-size: 11px;

}
TD.linie {
background-image: url(../images/veranst-linie.gif);

color: #FFFFFF;

}

.linie {
color: #FFFFFF;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;

}
```

### [#8](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/8) · Andrea_Herzog · 2005-12-16

Hallo Leute,
 :o
ich weiß nicht, warum, aber jetzt geht alles.

Kann sein, dass die beiden Fehler zusammen den Firefox so geärgert haben #evil# , dass er Murx daraus gemacht hat und ich nach Einsetzen der Klammer nicht den Cache gelöscht.....

Wie auch immer, der Tag scheint gerettet.

Viele Grüße und vielen Dank,

Andrea

PS: Vielleicht sollte ich mir doch ein Motte suchen: Lösung durch Handauflegen. :p

### [#9](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/9) · haes · 2005-12-16

oder in Zukunft den CSS-Text einfach unter folgender Adresse überprüfen lassen:

<http://jigsaw.w3.org/css-validator/validator-uri.html>

Dann finden sich solche Fehler schneller!

### [#10](https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet/10) · Andrea_Herzog · 2005-12-16

Wie recht du hast... :o

---

Quelle: „Firefox ignoriert CSS Stlyesheet“, typo3.net, https://www.typo3.net/d/34924-firefox-ignoriert-css-stlyesheet
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
