The example on that page is of using inline CSS on an HTML page, using IE conditional comments in the HTML, not in the CSS.
neem wrote: > There is such thing in CSS! > Even the official developers of IE7 ask users to use conditional > execution in css instead of hacks like "* html", ">" and so on. > http://blogs.msdn.com/ie/archive/2005/10/12/480242.aspx > > But, it looks that there is no such thing in SASS. > > Cheers, > Evgeny > > On Mar 1, 9:01 pm, Evgeny Zislis <[EMAIL PROTECTED]> wrote: > >> There is no such thing in CSS as <!-- --> comments. >> And AFAIK IE does not parse such comments as part of CSS parsing. >> >> The only place where you would need such comments, is actually >> in the HTML, just before the special <style> tag, or <link> tag. >> >> On Feb 29, 2008, at 5:20 PM, neem wrote: >> >> >> >> >>> how I can create a conditional element in SASS? >>> >>> I wand something like this to be generated in CSS >>> <!--[if IE 6]> >>> Special instructions for IE 6 here >>> <![endif]--> >>> >>> In Haml I'd do the following: >>> /[if IE 6] >>> >>> but I haven't found how to do it in SASS >>> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
