Re: @ gets encoded within CDATA
Simon Rönnqvist <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Oh yeah... I should have known... ;-)
Well, thanks!
Once I'm ready with this site I think I'm going to compile some kind for list of 'improvements' that I've done to the original 2-cols layout. By 'improvements' I mean changes that I've done to comply more closely with recommendations found in books on CSS and web standards (something for my thesis). Well, this 'improvement' didn't make the pages more standards compliant, but it makes the pages work in NS4 by turning CSS completely off. (The partial CSS support in NS4 otherwise just makes the page a mess.)
An issue which I've read can be caused by using the @import method is that IE6 can show (flicker) the page unstyled before it's got the CSS-file loaded. This should however be avoided by having a <link> tag right before it, I hope this doesn't have to be a link to a CSS-file so that the <link> tag to the openid-server will suffice. I'll let you know if it didn't.
cheers, Simon
On Thursday 24 November 2005 08:34, you wrote:
> On 23.11.2005 17:52 Uhr, Simon Rönnqvist wrote:
> > Hi!
> >
> > Another problem which I didn't notice, even though one could figure it
> > out from the last mail is that the variables don't get handled. The
> > output is now:
> > <style type="text/css" media="screen">
> > /*<![CDATA[*/
> > @import "{$webroot}themes/{$theme}/css/{$themeCss}";
> > /*]]>*/
> > </style>
>
> That's a simple xslt-"isssue" :) the curly brackets only works within
> attributes. you have to write
>
> @import "<xsl:value-of select="$webroot"/>themes/<xsl:value-of
> select="$theme"/>/css/<xsl:value-of select="$themeCss"/>";
>
> chregu
>
> > cheers, Simon
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms