Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-07-15 01:22:29

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: TXP processing code in sytlesheet?

Uncoded apersands are not valid in the markup, but that doesn’t mean you can’t use them elsewhere (urls, scripts, etc.)

Not too many browsers still in widespread use that are old enough to need hiding style from. You could always use html comments I suppose.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#14 2006-07-15 03:50:38

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: TXP processing code in sytlesheet?

You could just link to a normal stylesheet and then use @import and media types to filter out old browsers, so you shouldn’t have to deal with the unencoded ampersand. EX:

<pre>
//css file

//hide imported styles from IE
@import url(misc.css) screen,projection;

//screen (don’t forget projection for Opera in fullscreen!)
@media screen,projection {
body {}
}
//etc
</pre>

Offline

Board footer

Powered by FluxBB