You should not apply that "fix". jQuery Mobile already does a "browser reset" in it's CSS.
Skip down to "enhancing new markup" and "create vs. refresh"
You also may need to trigger an updatelayout event on your newly-inserted content.
Is there some reason you are using such an old version of jQuery Mobile? 1.0 is quite old, and is going to have problems with updated browsers. In fact, I only see your problem on Firefox, and that suggests that you may just need to use an updated JQM.
jQuery Mobile is more sensitive to changes in browser updates than jQuery itself, and neither jQuery nor jQuery Mobile maintain older versions with updates for browser updates. It seems to me that many sites are lax about updating jQuery versions, but you cannot get away with this with jQuery Mobile. You have to keep up, or browser updates will break things and pass you by. You need to keep up or an increasing number of your users will experience problems.
Leave a comment on watusiware's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic