Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-05 01:34:47

silver-z
Member
From: Dallas, Texas
Registered: 2006-07-05
Posts: 10
Website

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

#3 2006-07-05 02:02:58

silver-z
Member
From: Dallas, Texas
Registered: 2006-07-05
Posts: 10
Website

Re: ie conditionals how?

awsome, thanks!

-aldo

Offline

Board footer

Powered by FluxBB