[jQuery] ie and firefox browser test

[jQuery] ie and firefox browser test


I want to test if the browser is ie or firefox and then set the width
and height of a thickbox differently depending on this. Is this
considered bad practice and if so how might you do it better?