I have a page that has a fairly complicated layout. When the page is initially opened there\'s a problem with the aligment of some of the elements. However, this problem can be
For IE compatibility
function fireResize(){
if (document.createEvent) { // W3C
var ev = document.createEvent('Event');
ev.initEvent('resize', true, true);
window.dispatchEvent(ev);
}
else { // IE
element=document.documentElement;
var event=document.createEventObject();
element.fireEvent("onresize",event);
}
};
fireResize();