This may be a silly question, but I am wondering if it's possible to override styles for the upload.aspx dialog to customize the look...not from the upload pages content but form the calling 'parent' page? I don't think it is since I believe that it is a iframe and I assume you can't do this with a iframe but I am not really sure. Have customized look and feel collection of pages I did with ecma/designer but I am stuck with the OOB look of the upload form itself?

To be clear I don't want to mess with the upload page itself because I have read its not a great idea, and I don't want to change functionality, just styles....

Thanks as always

  • May be, you can inject css into that dialog use 'window' object
    – Raymond
    Commented Jul 1, 2013 at 5:09
  • that's cool, now I just need to figure out how to do that. thanks
    – Justin
    Commented Jul 1, 2013 at 11:30

1 Answer 1


You can inject a css file into that dialog use some code like this:

var myIframe = document.getElementById('myIframeId');    
var link = document.createElement("link");
link.href = "http://example.com/mystyle.css";
link.type = "text/css";
link.rel = "stylesheet";

visit here for detail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.