fixing the style when the page load in firefox