I'm not sure what exactly your style problems are, but here's a (rather general) piece of advice: Have a look at the
vBulletin Documentation, where there are style maps that show you which piece of the page uses which css style, making it much easier to customize your board
If condition: You could use the is_browser() function in the if condition, but I've never used it, so you'd have to check the syntax...