Iframe not dispalying source URL content. Problem only with Mozila, working fine with Chrome.
I have developed one asp .NET web application. In which I have one web page with Iframe, this IFrame is used to display static page URL, but IFrame is not disapying source control at all. I am facing this issue only in Mozilla Firefox (66.0.3) only, working fine with Chrome.
All Replies (5)
Hi HemantRajendraRatnaparkhi, if you haven't already, could you check for messages in Firefox's Web Console. You can open the Web Console in the lower part of the tab using either:
- "3-bar" menu button > Web Developer > Web Console
- (menu bar) Tools > Web Developer > Web Console
- (Windows) Ctrl+Shift+k
Then reload the page in the upper part of the tab and watch for error or security messages. (The lines with blue triangles generally are not significant unless you suspect a style rule problem.) Anything that sounds like it could be relevant?
Also, see: Where to go for developer support
Also see:
- https://developer.mozilla.org/en-US/Tools/Web_Console
- https://developer.mozilla.org/en-US/Tools/Page_Inspector
Is the iframe visible at all? If you would set its dimensions via percentages then make sure that all containing elements further up in the tree have a dimensions set (else you get 100% of zero -> zero).
1) Major problem for me is it's not showing any error in Console panel. 2) I already tried this by giving IFrame height and width in Percentage , but it's not working in my case.
Did you try to set the iframe dimensions to fixed settings?
The point of my above post is that using percentages can cause issues. You can check the Layout tab in the Inspector for this frame.
Do you want to share a link to a page demonstrating the problem?