css funzt nicht unter FireFox

  • #1
I

Ingo23948

Guest
Hallo!

Habe eine Webseite mit css-Verweis.
Unter IE klappt et. Aber unter FireFox nicht, bzw. nur teilweise (die Links werden im hinterlegten Style angezeigt, Überschriften & Text nicht).

Was stimmt mit dem css-file nicht? oder was muss ich machen, damit firefox zufrieden ist?

Hier der css-Inhalt:
Code:
<!--Body-->

body {background-color:FFFFCC}



<!-- Überschriften -->

h1 	{font-family:Verdana; font-size:16; color: 0000CC; font-weight:bold;}
h2	{font-family:Verdana; font-size:14; color: 0000CC; }
h3	{font-family:Verdana; font-size:12; color: 000000; font-weight:bold;}


<!--normaler Text -->
p 	{font-family:Verdana; font-size:12; color: 000000; line-height: 14pt;}	


a:link  {font-family:Verdana; font-size:12; text-decoration: none; color: 990000; }
a:visited {font-family:Verdana; font-size:12; text-decoration: none; color: 990000; }
a:hover  {font-family:Verdana; font-size:12; text-decoration: overline underline; color: 0000FF; }
a:active {font-family:Verdana; font-size:12; text-decoration: none; color: 990000; }

Table {  font-family:Verdana; font-size:12; color: 000000; 
	  empty-cells:show; padding: 3pt; padding-left: 8pt   }


</STYLE>
* Code-Tags eingefügt *
* Verschoben aus Web-Browser *
 
  • #2
Kommentare werden in CSS so geschrieben /* Kommentar */ ;)

Code:
<style type=text/css>
/* Body */
body { 
	background-color:#FFFFCC; 
}
/* Überschriften */
h1 {
	font-family:Verdana; 
	font-size:16px; 
	color:#0000CC; 
	font-weight:bold;
}
h2 {
	font-family:Verdana; 
	font-size:14px; 
	color:#0000CC; 
	font-size:14px; 
}
h3 {
	font-family:Verdana; 
	color:#000000; 
	font-weight:bold;
	font-size:12px; 
}
/* Absatz */
p {
	font-family:Verdana; 
	font-size:12px; 
	color:#000000;
	line-height:14pt;
}
/* Links */
a {
	font-family:Verdana; 
	font-size:12px; 
	color:#000000;
	text-decoration: none; 
	color:#990000; 
}
a:link {}
a:visited {}
a:active {}
a:hover {
	text-decoration: overline underline; 
	color:#0000FF; 
}
/* Tabellen */
table {
	font-family:Verdana; 
	font-size:12px; 
	color:#000000;
 empty-cells:show; 
	padding: 3pt; 
	padding-left: 8pt;
}
</style>
 
  • #3
Och nö...

Un warum sagt mir das all die Jahre keiner?! ;-)
da verwendet man ständig die selbe Datei.. und der MS IE akzeptierts auch noch.


Egal.
Vielen Dank! Jetzt klappt es wunderbar!
 
  • #4
Ingo23948 schrieb:
Un warum sagt mir das all die Jahre keiner?! ;-)

Tschuldigung, wollte es dir vor 3 Jahren mitteilen, habs dann doch irgendwie vergessen ;D ;D
 
Thema:

css funzt nicht unter FireFox

ANGEBOTE & SPONSOREN

Statistik des Forums

Themen
113.838
Beiträge
707.961
Mitglieder
51.491
Neuestes Mitglied
haraldmuc
Oben