Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
CSS style sheet not loading in Firefox
I just noticed this strange behaviour – with the following tag, the style sheet is not getting loaded in Firefox:
<code><link rel=“stylesheet” href=”<txp:css />” type=text/css” media=“screen” /></code>
This produces a link like so:
<code><link rel=“stylesheet” href=“http://mysite.com/textpattern/css.php?s=default” type=text/css” media=“screen” /></code>
But this tag works fine:
<code><txp:css format=“link” n=“default” /></code>
It produces a link like so:
<code><link rel=“stylesheet” type=“text/css” media=“screen” href=“http://mysite.com/textpattern/css.php?n=default” /></code>
Huh? The only difference is the s=default in the link that does not work, and the n=default in the one that does.
Running 4.05. Is this a bug?
Offline
Re: CSS style sheet not loading in Firefox
Ignore this message – I noticed I had left out the “ in type=“txt/css”
My bad :-(
Offline
Pages: 1