Tip: iframe relative width and heightPosted on July 4, 2018By Sarfraz Khan<iframe src="https://somesite.com/somepage.aspx" onload="this.width=screen.width - ((screen.width <= 768) ? 100 : 500); this.height=screen.height - 100"> Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related Filed under: Blog, C-Sharp, CSS