Bootstrap modal at top of iframe regardless of scroll position. How do I position it on screen?
When embedding a Bootstrap app in an iframe, modal dialogs always open at the top of the iframe, not the top of the screen. As an example, go to http://getbootstrap.com/javascript/ and open an example modal on the page. Then using the sample code below which places the same bootstrap page in an iframe, find a modal and open it: <html> <head> </head> <body> <table width="100%"> <tr><td colspan="2" style="height:80px;background-color:red;vertical-align:top">Here's some header content I don't control</td></tr> <tr><td style="width:230px;height:10080px;background-color:red;vertical-align:top">Here