Writing out dynamic pages is a bit too ineffecient. I'm sure you can use if statements and stuff in the Apache config to get the same effect, I just don't know how.
Does the browser complain outright about <nobr>, or just ignore it? Because I can easily put in the correct styles in addition to the <nobr>, it's really just there to make IE behave.