I want to open that page in mobile browser that Iframe will fit that mobile browser
How can i do this one?
protected void Page_Load(object sender, EventArgs e) { String URL = http://www.aspforums.net/; if (!String.IsNullOrEmpty(URL)) { I1.Attributes["src"] = URL; } } <body > <form id="form1" runat="server"> <div class="auto-height"> <iframe id="I1" runat="server" name="I1" class="auto-height" frameborder="0">your browser does not support IFRAMEs</iframe> </div> </form> </body>
Chris Anderson
31-Oct-2013Can you describe your "auto-height" class here.
You can use responsive layout to fit your screen to any browser whether it is mobile, tablet or desktop.
Thanks.