Click to See Complete Forum and Search --> : IE and FF hacks


Fantatier
02-10-2005, 12:51 PM
can anybody tell me or link me with an overview of the diffent ways to talk with a specific browser,

i seem to recal ppl saying for instance

if you put a "/" or something infront of this or that, it would only be for IE or FF

things like that

i hope you know what i mean ;)

cheers

Fang
02-10-2005, 01:08 PM
http://www.dithered.com/css_filters/

Fantatier
02-10-2005, 04:54 PM
yea, i found that site yesterday, but well it didnt seem very lets say straight forward to me...

seeing as different things aply to different versions of different browsers... :p , my head is spinning allready ;)

but now that ive heard from you it IS actualy what im looking for, ill get my head stuck into it properly

cheers

Fang
02-11-2005, 05:45 AM
One very simple method to send different values to FF or IE:
#anyID {width:100px !important; width:200px;}
FF understands the !important declaration so will use the value that comes before it.
IE does not understand !important so uses the second value.
FF > width:100px;
IE > width:200px;

Fantatier
02-11-2005, 05:47 AM
ah, thanx thats probably all i need :)