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.