Here on the IE7 verses IE6 confusion.. This one is based in the js world but same applies...
"The value of agent for IE7.0.5730.11 is this:
mozilla/4.0 (compatible; msie 7.0; windows nt 5.1; su 3.011; mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1) ; .net clr 2.0.50727; fdm; .net clr 3.0.04506.30)
which means that ie6 is true and ie7 is true. Put "else if (ie7)" before "else if (ie6)".
"
Which you can read more here...
http://www.experts-exchange.com/Program ... 82183.html
That is the short.. But I have posted in here.. in this thread.. a year ago on this, in more detail too..
When trying to filter browsers, one should go top down... take a look at my browser tools..
http://dev.cmsmadesimple.org/projects/browsertools
You’ll notice that.. "firefox", "msie", "ipod", "iphone", "opera", "chrome", "safari","mozilla", ...
see ipod must be above iphone, and above safari even though an iphone is an ipod so it'd resister as a iphone first, and they both use safari so they would both would resister as that first...
hope that is clear.. Cheers -Jeremy