Ed C. wrote:
> No no no, lads, if you're trying to workaround a specific IE version
> (from v5 through v7), use conditional comments:
> 
> http://www.quirksmode.org/css/condcom.html
> 
> Like:
> 
> <!--[if gt IE 5]>
>  <script src="prototype.js"></script>
> <![endif]-->

Except that will break any non-IE client. Those abominations should be avoided
at all costs. And if you absolutely need to use them, it should probably be more
like this:

<![if lt IE 6]><comment><![endif]>
  <script src="prototype.js"></script>
<![if lt IE 6]></comment><![endif]>

That way at least browsers that don't try to force functionality into comments
will still see it.

-- 
Michael Peters
Developer
Plus Three, LP

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to