Dan/Les thanks. I was aware of the other methods and was hoping I could have
conditional logic in one CSS file. IE really is a PITA! 

-----Original Message-----
From: Les Mizzell [mailto:[email protected]] 
Sent: Thursday, August 11, 2011 10:59 AM
To: cf-talk
Subject: Re: CSS Conditionals Question

I've been avoiding hacks if possible myself. Microsoft tends to break them
with each new release. I've started using a conditional in the body of my
files. It's been working rather well...

<!--[if IE]> <div id="IEroot"> <![endif]-->

   <p id="myParaStyle">Everything goes here....</p>

<!--[if IE]> </div> <![endif]-->

In my CSS

#myParaStyle { ... stuff for most ....}
#IEroot #myParaStyle { ...stuff just for IE ....}



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346696
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to