what about links and opera? you're just chucking them in the same
category as firefox 3.
well
when /(Firefox|GranParadiso)/
'firefox'
this works fine for ff2 and there is alignment problem in ff3 so i made
another css file for ff3 and just want to use based on ff2 or ff3
case request.user_agent
when /(MSIE 7)/
'ie7'
when /(MSIE 6)/
'ie6'
when /(Firefox 3)/
'ff3'
when /(Firefox 2)/
'ff2'
when /(Firefox 1)/
'ff1'
when /(Safari)/
'safari'
else
'unsupported'
end