Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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