In a web application I'm hitting some troubles with dynamic content - where by a form being hidden or shown above a jquery ui tab control causes rendering issues until the user hovers there mouse over the tabs, which then causes the tab header to redraw in the correct location.
It's only occuring in IE7 and as a quick hack I'm doing this after showing the form to cause the tab's div to be refreshed in IE:
$('#tabs').css('display', 'none').css('display', 'block');
I'm just wondering if there is a more appropriate/robust way to cause a div element to redraw itself / recalculate the layout of elements on a page, as I'm worried my approach may have unwanted side-effects on other browsers.