I am opening a modaldialog window but when it displays the formatting of my aspx page is all messed up. It works fine when I go directly to the url but when it opens in a modal dialog window I am getting various formatting issues...

Has anyone come across this before?