Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-16 13:35:11

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

#2 2007-09-16 13:38:51

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

Board footer

Powered by FluxBB