Firefox lädt css nicht

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
e aus o
Posts: 50
Joined: Mon 29. Dec 2003, 00:30

Firefox lädt css nicht

Post by e aus o »

Hallo miteinander,

habe seit heute 1.2.8 (Neuinstallation) und stelle fest, dass der FF das css nicht lädt.

Ich formatiere über DIV - keine Tabellen. Damit ist der Doctype vorgegeben. Der Code ist bei mir laut einer FF-Extension auch valide bis auf die Alt-Tags. Ist aber erst mal nicht so wichtig, da ich noch probiere.

Im IE funzt das Bisschen aber schon einwandfrei.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--
	phpwcms | free open source content management system
	created by Oliver Georgi (oliver at phpwcms dot de) and licensed under GNU/GPL.
	phpwcms is copyright 2003-2006 of Oliver Georgi. Extensions are copyright of\
	their respective owners. Visit project page for details: http://www.phpwcms.org/
//-->
<title>Hotel Luisenhof - Rhön - am Fuß des Kreuzbergs | Startseite</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta http-equiv="content-style-type" content="text/css" />
  <script src="phpwcms_template/inc_js/frontend.js" type="text/javascript"></script>
  <style type="text/css" media="all">
  /* <![CDATA[ */
    body {
      margin: 0;
      padding-top: 0;
      padding-bottom: 0;
      padding-left: 0;
      padding-right: 0;

      color: #000000;
    }
    a, a:link, a:active, a:visited, a:hover { color: #FF9900; }
    a:visited { color: #FF9900; }
    a:active { color: #FF9900; }
  /* ]]> */
  </style>
  <style type="text/css">
  /* <![CDATA[ */
    @import url("phpwcms_template/inc_css/frontend.css");
  /* ]]> */
  </style>

  <!--[if lt IE 7]>
  <style type="text/css">
    body { behavior: url("phpwcms_template/inc_css/specific/csshover2.htc"); }
    img { behavior: url("phpwcms_template/inc_css/specific/pngbehavior.htc"); }
  </style>
  <![endif]-->
</head>
<body> 
<div align="center" style="margin:0;padding:0;"><div id="container">
	<div id="headerBlock"><img src="images/luisenhof_1.gif" width="800" height="76" /><br />
<div id="topmenu" align="right">| Kontakt | Impressum | Anfahrt |&nbsp;&nbsp;</div>
<img src="images/luisenhof_3.gif" width="800" height="24" /><br />
<img src="images/luisenhof_4.jpg" width="800" height="118" /></div>
	<div id="leftBlock"></div>
	<div id="rightBlock"></div>
<div id="mainBlock"><div id="content">Noch kein Artikel<br / >

</div></div>
	<div id="footerBlock"></div>

</div></div>

</body>
</html>
Dann noch was: ist es möglich - ohne Änderung des Quelltextes - die body- und link-Definitionen rauszuschmeißen?

Vielen Dank schon mal im Voraus
e aus o
Posts: 50
Joined: Mon 29. Dec 2003, 00:30

Post by e aus o »

Also das mit dem Body und Links habe ich gefunden - hätte ich ja gleich dran denken können ;-)

Aber das CSS wird im FF immer noch nicht geladen.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Hallo e aus o,

ggf liegt es am Doctype.

Ein Link wäre klasse dann könnte man eher helfen.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
e aus o
Posts: 50
Joined: Mon 29. Dec 2003, 00:30

Post by e aus o »

Hab jetzt wieder auf <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> zurück gestellt.

Jetzt funzt es natürlich.

Was ich halt nicht verstehe ist, dass der Code und auch das CSS valide waren. Hätte mich sogar mit dem W3C-Css-Emblem schmücken können - aber es ging trotzdem nicht. Das CSS wurde einfach im FF nicht angezeigt.

Und das ist ja wirklich nur das Grundgerüst - ist ja noch nicht fertig.

Kannst ja mal gucken und danke für deine Bemühungen
Post Reply