The IE or FF detector

Posted on 16th Feb 2014 by admin

Hello Friends,

Problem of today ( we seek for php help ) as following ,

we know all that PNG images not shown well on IE6 and some "css'ers" given us a solution --> fine 1

but if that PNG is within css hover code no way to be working correctly i.e i've tried millions of ways all failed


the only way i've got is to use something called "filter"

but that filter is not working for FF and only working for IE

so i wonder if


- we are able to set a php code

if ( it IE) then ( run style_ie.css ) if not ( IE ) then ( run style_ff.css )


hence is there any code to detect it and can be re-write as if X then Y and if not then Z


hope you got wt i mean ....

thanks in advance

Other forums