ThomasX: Probleme mit Netscape6

Hallo,
ich hätte ein kleines Problem:

.bgTop  {  background-image:  url(<?php print $path;?>/images/bg_top.gif); background-repeat: repeat-x}
.bgBottom {  background-color: #E8EEF2; background-image:  url(<?php print $path;?>/images/bg_bottom.gif); background-repeat: repeat-x}
.bgMiddle {  background-image:  url(<?php print $path;?>/images/bgMiddle.gif); background-repeat: repeat-x}

dies wird vom netscape 6 (die anderen sind mir net so wichtig ;-) ) nicht richtig angeziegt (im IE schon) Waran kann das liegen

Danke im Voraus
THomas

  1. .bgTop  {  background-image:  url(<?php print $path;?>/images/bg_top.gif); background-repeat: repeat-x}
    .bgBottom {  background-color: #E8EEF2; background-image:  url(<?php print $path;?>/images/bg_bottom.gif); background-repeat: repeat-x}
    .bgMiddle {  background-image:  url(<?php print $path;?>/images/bgMiddle.gif); background-repeat: repeat-x}

    dies wird vom netscape 6 (die anderen sind mir net so wichtig ;-) ) nicht richtig angeziegt (im IE schon) Waran kann das liegen

    Also in solchen Fällen ist es meistens Netscape 6, der es richtig anzeigt und der IE macht es falsch ;)

    Aber ernsthaft: Das sieht für mich soweit ganz in Ordnung aus. Du hast leider nicht geschrieben, _was_ überhaupt passiert (_das_ etwas richtig oder falsch passiert, ist schon klar..) und auch nicht, ob Du schon den CSS-Validator (http://w3c.org) drüberlaufen lassen hast.

    Gruß,
      soenk.e

  2. Hallo,
    ich hätte ein kleines Problem:

    .bgTop  {  background-image:  url(<?php print $path;?>/images/bg_top.gif); background-repeat: repeat-x}
    .bgBottom {  background-color: #E8EEF2; background-image:  url(<?php print $path;?>/images/bg_bottom.gif); background-repeat: repeat-x}
    .bgMiddle {  background-image:url(<?php print $path;?>/images/bgMiddle.gif); background-repeat: repeat-x}

    Hallo,

    $path enthält ggf. keine relative Adressierung, z.B.
    ./pfad/

    Probiere mal das komplette sytelsheet mit echo auszugeben und die Datei als test.php speichern.
    <?
    echo "<style type="text/css" ><!--";
    echo ".bgMiddle {  background-image:url(".$path."/images/bgMiddle.gif);  background-repeat:repeat-x}";
    echo "--></style>";

    Eine andere Möglichkeit ist, das CSS-spezifische Attribute case-sensitive sind also
    class="bgmiddle" ist was anderes als class="bgMiddle", dasselbe gilt für ID="bgmiddle" und ID="bgMiddle".
    Dann dürfen die Blanks in den Stylesheets nur einmal vorkommen, z.B. top:20px; ist gut top: 20 px ; dagegen fehlerhaft.

    Wie gesagt, hilfreich ist nur der komplette Code. Das erspart Spekulationen.