Click to See Complete Forum and Search --> : Hide css from FireFox


idn
03-10-2006, 09:59 AM
Hi

I was wondering if there was a way to hide some css I have from firefox in the css file itself.

I have style the scroll bars and firefox doesnt regonise this. Its not a huge deal I know but it takes up alot of space on my firefox debug window and I often miss js errors because of it

Thanks!

Fang
03-10-2006, 10:02 AM
Use conditional comments (http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp)

pcthug
03-10-2006, 06:40 PM
see: http://www.dithered.com/css_filters/css_only/index.php

Kravvitz
03-10-2006, 11:19 PM
CSS Filters work for IE4-6, but IE7 is fixing a lot of the bugs that make the CSS filters work, so conditional comments are much more reliable. Just remember that only IE5+/Win supports them.

Some more information on conditional comments can be found on this page. (http://www.positioniseverything.net/articles/multiIE.html)
QuirksMode.org : Conditional comments (http://www.quirksmode.org/css/condcom.html)
http://www.google.com/search?q=IE+conditional+comment