Begin forwarded message:

> From: Diona Kidd <[EMAIL PROTECTED]>
> Date: December 5, 2006 11:47:01 PM EST
> To: "Andy Pemberton" <[EMAIL PROTECTED]>
> Subject: Re: [css-d] CSS Conditional Statements
>
> Thanks. I really appreciate the the info. That answers my biggest  
> question. I'll be sure to read up on that throughly.
>
> Diiona
>
> On Dec 5, 2006, at 11:28 PM, Andy Pemberton wrote:
>
>> Diona:
>>
>> Conditional comments are a proprietary Microsoft technology.  They  
>> aren't parsed at all by the other browsers, rather they are seen  
>> as regular HTML comments (that's where the name comes from).
>>
>> <!-- Here is an HTML comment -->
>>
>> Read the MSDN article I sent thoroughly to understand CCs and how  
>> they're parsed.
>>
>> Conditional comments, are in my opinion, the 'best practice' way  
>> to filter rules specifically to Internet Explorer (or non-IE  
>> browsers, per the article's instruction). This practice avoids CSS  
>> filters ( http://centricle.com/ref/css/filters/) or 'hacks' as  
>> some would call them and are more future-safe than are CSS filters.
>>
>> Andy
>>
>>
>>
>> On 12/5/06, Diona Kidd <[EMAIL PROTECTED]> wrote:
>> Thanks Shelly and Andy. :)
>>
>> Shelly, that was a misnomer or mis-type. I followed the article and
>> added the stylesheets to the head of the document after the global
>> stylesheet. I have also seen conditionals in css, although I can't
>> find the link at the moment. I just wasn't sure which is the most
>> acceptable or more commonly used approach. Yes, this is an older
>> post. Maybe I need to try it again or read up more.
>>
>> I also noticed the use of lt and lte. Andy's link mentioned these
>> mean 'less than' and 'less than or equal to'. I'm guessing an
>> evaluation done in by the browser to determine if the browser version
>> is less than the specified version. I wasn't aware that IE supported
>> this. Are there other supported conditional statements that I'm
>> unaware of or are they all IE related? Is it just unrecognized in
>> other browsers and ignored, or it is recognized and evaluated false?
>> To clarify my question...Andy mentioned MSDN, is this cross-browser
>> compatible or does IE just recognize the conditionals?
>>
>> I want to move away from hacks but I also want to understand how the
>> conditional statements are implemented. Is this part of the W3C
>> standard or is this something implemented by a particular vendor
>> (Microsoft)?
>>
>> While reading on CSS3, I see that it might support conditionals and
>> regexs but I also realize it'll probably be a very, very long time
>> before seeing support for this.
>>
>> Can you guys provide any working examples I can look at?
>>
>> Thanks in advance,
>>
>> Diona
>>
>>
>> On Dec 5, 2006, at 10:53 PM, Shelly wrote:
>>
>> > >>Is anyone using conditional statements in their CSS?<<
>> >
>> > I use conditional comments all the time.  This is an older article,
>> > i think - I remember reading it before - but this is the method I
>> > use when I use CC's.  I have no problem whatsoever with them.
>> >
>> > As for "what the known support" is - anything above IE5 on PC.  IE5
>> > for Mac doesn't see them.
>> >
>> > Now, I also noticed you said "*IN the CSS" - are you placing the
>> > conditional comment within your CSS file?  Because that would be
>> > the problem - the CC goes in the head of your document, below any
>> > other calls to other stylesheets - best place to put it is right
>> > before the closing </head> tag.  (If you put it *before* the
>> > original stylesheet calls, then the CC won't override the other
>> > stuff - it has to be after)
>> >
>> > ~Shelly
>> >
>>
>> _____________________________________________________________________ 
>> _
>> css-discuss [EMAIL PROTECTED] ]
>> http://www.css-discuss.org/mailman/listinfo/css-d
>> IE7 information -- http://css-discuss.incutio.com/?page=IE7
>> List wiki/FAQ -- http://css-discuss.incutio.com/
>> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>>
>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to