ronaldp423 Posted July 7, 2005 Posted July 7, 2005 I have studied this hard. I have tried various approaches to this without success. Is there someone in this forum who has actually created a second stylesheet and used either php or javascript to tell IE to use it, and been successful? If so, please help me. I using WordPress 1.5.1.3, IE6 SP2, and Firefox. I have tried to implement the javascript conditional tags in my header.php. Thanks to everyone in advance for their help! www.ronpemberton.com Quote
TCH-Rob Posted July 7, 2005 Posted July 7, 2005 Have you tried something like what is offered at scriptygoddess? Read the comments on that page as well. Most insightful. Quote
TCH-Dick Posted July 8, 2005 Posted July 8, 2005 Just add this ><!–[if IE]><link rel=”stylesheet” href=”ie.css” type=”text/css” media=”screen” /><![endif]–> Quote
TCH-Rob Posted July 8, 2005 Posted July 8, 2005 Sure, come up with a short version why don't you. Quote
TCH-Dick Posted July 8, 2005 Posted July 8, 2005 Sure, come up with a short version why don't you. I just found this not too long ago. If you want to read more on this here is the link http://msdn.microsoft.com/library/default....comment_ovw.asp You can see that it works by loading that page in IE and FF. Look for the blue SHOW ME button in IE. In FF it will display "This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample." and shows the Get IE button. This works for the css because it will be ignored by all other browsers except IE. Quote
ronaldp423 Posted July 8, 2005 Author Posted July 8, 2005 Dick, I tried this several times in several varitions. Nothing worked. Could there be something else keeping everything from working? It works for everyone in all the different forums I've talked to. I have pasted my header.php at this site; http://pastebin.com/309272 Thanks for any help with this Ron Quote
TCH-Bruce Posted July 8, 2005 Posted July 8, 2005 Have you tried removing or commenting out line 21? I just took a quick look and I could be wrong. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.