tag:blogger.com,1999:blog-5886240114417042054.post8512318588123832793..comments2023-05-27T21:33:57.598+05:30Comments on Technical Solutions: pdf in modal dialog boxsumithttp://www.blogger.com/profile/02696733738444368839noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5886240114417042054.post-40628663085231622852009-11-04T02:29:28.690+05:302009-11-04T02:29:28.690+05:30Chuck: Yes, that is a bug in IE. To get the resul...Chuck: Yes, that is a bug in IE. To get the results you want, you'll need to add the style to both the body and HTML element of the page containing the iFrame.<br /><br /> <style type="text/css"><br /> html, body, iframe<br /> {<br /> height:100%;<br /> width:100%;<br /> margin:0px;<br /> padding:0px;<br /> overflow:hidden;<br /> } <br /> </style>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5886240114417042054.post-14638429545334368542009-08-12T01:10:54.295+05:302009-08-12T01:10:54.295+05:30This solution worked for me except for some reason...This solution worked for me except for some reason the height attribute of the iframe tag wouldn't work when set to a percent value, so I had to use pixels instead. Using the example, rather than height="100%" in the iframe tag, I had to use height="650px". Width="100%" was OK.<br /><br />Must be a weird bug in IE.Chuck Bevitthttp://www.bevitt.wsnoreply@blogger.com