Re: wierd behavior on parsing css with no php included
| From: | Gary | Date: | Sun, 23 Aug 2009 13:20:51 +0000 |
| Subject: | Re: wierd behavior on parsing css with no php included | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297108@lists.php.net to get a copy of this message | ||
You have a path problem. The browser is looking for your file/// . Remove
all but the folder and file information (that is if the css folder/file are
in the root directory).
So if your file looks like
url(f/////desktop/yourcomputer/mydocuments/sites/thissite/css/css.css),
remove all but the css/css.css
Or, if you are using Dreamweaver, right click and use the url locator
Gary
""Ralph Deffke"" <ralph_deffke@yahoo.de> wrote in message
news:67.4F.03363.A1E219A4@pb1.pair.com...
> Hi folks, i did post this also on the Wamp page but maybe someone out
> there
> had to solve that problem as well.
>
> systems involved
>
> Firefox 3.0.13
> Firefox 3.5.2
> IE 6
>
> Wamp:
> apache 2.2.11
> PHP 5.2.9 & php 5.3
>
> I do parse css files through php
>
> Problem: css files are loaded into the browsers but not interpreted or
> used
> on RAW HTML files no php included. The html files are produced with
> phpDocumentor 1.4.2. IE6 uses parts of the css files loaded to display the
> page, Firefox NOT AT ALL.
>
> I think it might be possible that wamp throughs some wierd characters into
> the css files or is the header type a problem? It looks like parsing the
> css
> through the php engine changes the header of the css to text/html. this
> would explain why IE6 can use them. on the other hand firebug shows the
> loaded css, indicates however that no css is available.
>
> as an reverse check I did load the html files direktly from the disk with
> file:/// ... and the css are interpreted perfectly. so the source of the
> problem is wamp.
>
> it seems that the @importcsss does the biggest problem.it creates a 404
> error "file not found"
>
> it seems creating dynamic css files got some secrets involved with the
> wamp.
> I'm using this concept since ages on linux with no problem.
>
> on the @includecss it seems that the search for files are changing to the
> php include path or something.
>
> any idear what to check?
>
> is important for my work to create css dynamicly
>
> ralph_deffke@yahoo.de
>
>
>
> __________ Information from ESET Smart Security, version of virus
> signature database 4360 (20090823) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 4360 (20090823)
__________
The message was checked by ESET Smart Security.
http://www.eset.com