Re: Newbie NN4 help...
| From: | Stephanie Sullivan | Date: | Sun, 20 Oct 2002 14:22:38 +0000 |
| Subject: | Re: Newbie NN4 help... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120665@lists.php.net to get a copy of this message | ||
on 10/20/02 0:04 AM, @ Edwin at copperwalls@hotmail.com wrote:
>> Why is that? I have no problem with NN4 SEEING and SHOWING my CSS
>> correctly...
>
> How did you check it? Are you sure the paths are correct? (".././" etc. <-
> notice the dots)
Well, the reason I don't think it's related to my paths is that it shows the
ORIGINAL style sheet... It just won't switch to a new one... They all have
the same path...
>
>> My problem lies with SWITCHING to another style sheet using my
>> PHP switcher... And it works in every other browser I tried
>
> So, how come you suspect that PHP is the problem? If it works on other
> browsers, that means, most likely the problem lies somewhere else. For
> example, NN will not work with @import. (I think you know that.) NN also has
> a lot of problems relative paths. And most of the time, putting the
> (external) CSS in the webroot folder fixes many problems.
Then why would it see my path but then NOT see it when I "switch" the
sheets?
>
> ...[snip]...
>
>>
>> It understands... There's no problem with the INITIAL load... Just the
>> switch...
>
> Again, this depends on how you test it.
>
> Try this, after "switching" check the resulting source code and see if what
> you're expecting is really there.
It's not... It remains the original smreg.css sheet in the code and on the
page... Which is what I'd expect since my page color and text size didn't
change.
>
> ...[snip]...
> PS.
> If ever, just try posting your code esp. the portion where you think the
> problem lies...
Hmmm... The code you posted looks very similar to what I'm using... Here's
my code: http://contrastsweb.com/switcher/
Stephanie Sullivan
VioletSky Design
http://www.violetsky.net
"Your assumptions are your windows on the world. Scrub them off every once
in a while, or the light won't come in." - Isaac Asimov