Cross-browser method for hiding page elements until all content is loaded to prevent layout from appearing broken during load?

Posted by Ryan on Stack Overflow See other posts from Stack Overflow or by Ryan
Published on 2011-01-13T19:45:36Z Indexed on 2011/01/13 19:53 UTC
Read the original article Hit count: 218

I have an issue where due to some elements loading faster than others, the page looks broken for a few seconds at the start. An example is the CSS Pie behavior that allows me to do curved corners in IE, it appears before it becomes curved which looks bad. What would be ideal would be it somehow knowing when everything is loaded and then appear all at once, possibly including some kind of elegant visual way of not making the user feel impatient... any ideas or common tricks for doing this?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about web-development