gopal_nivas Posted April 10, 2012 Posted April 10, 2012 hi.. in iframe the url not loading in chrome and safari browsers. how to handle this.. is it any other alternate for iframe in order to load URL tat should support all browsers. it is working only in IE. need ur suggetsions.. my page is like below: <html> <head runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=8" /> <body> <form id="form1" runat="server"> <iframe id="ifrmEBOOK" runat="server" width="100%" height="700px"></iframe> </form> </body> </html> regards gopal.s Quote
dotnetguy37 Posted April 12, 2012 Posted April 12, 2012 (edited) Re: Iframe URL not loading in chrome There was someone named "gopal krish" that asked a similar question (with somewhat similar html code) in an EggHead Cafe page. You can read the answer he got here. Don't know about Safari, but Chrome is a little funny about iframes. If you read here you'll find: ...If you're using frames or iframes, specify the encoding at the top of the source of those frames, as well. Some browsers (including Google Chrome) won't recognize encoding declarations that appear deep in a document (such as after CSS or script in your document's head section)....Also make sure that your web server is not sending conflicting HTTP headers. Headers sent by the web server will override any charset declarations in your page...a small code snippet showing "Example of good encoding placement" follows the above quoted text on the linked-to page.. As regards to debugging for Safari you have not shown any CSS code that may be tied to: id="ifrmEBOOK", So all I could do is offer a few tentative links (1, 2) to explore.. I myself have fallen prey to this little javascript generated iframe onLoad "gotcha". Edited April 12, 2012 by dotnetguy37 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.