No, your script is OK but it would not determine what version of browser is on the client comp

I'll agree with you that the best way is to put everything in one CSS file, do the hacks in it and call additional CSS files if and when needed.
It's not so hard to determine what browser is installed on client comp using PHP, just google a little bit if you need that. It is by the far the best solution but it also need PHP skills
