Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
ie conditionals how?
ok i want to make a seperate css file for ie stuff how would i go about doint that in txp
thanks
-al
Offline
#2 2006-07-05 02:01:56
- NyteOwl
- Member

- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: ie conditionals how?
Go the Presentation Tab then Style in the admin interface for textpattern. At the bottom of the text entry area there is a “copy as” function. You can enter a stylesheet in the main css area (or paste one in) and save it as something like iesheet.
Then in either your pages or a header output form you can put
<code>
<!—[if IE]>
<link rel=“stylesheet” href=”<txp:css n=“iesheet” />” type=“text/css” />
<![endif]—>
</code>
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
Re: ie conditionals how?
awsome, thanks!
-aldo
Offline
Pages: 1