Iframe not working with self hosted webpage

i have self hosted webpage(from home) which does not load using iframe in blogger platform. the webpage url is working outside the network. can anybody help?

thank you

Please supply the iFrame script that is calling the webpage so that users can test the actual script.

the iframe tag is

<iframe src="https://........"></iframe>

i have not shared the actual url but the url is working. i have tried height and width but no result, tried object embed also but not working

I cannot test without knowing the actual URL.

If it is on a Blogger Platform then there is a good chance that the site is blocking downloading to your site.

Try this:

<!doctype html><html lang="en-GB">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1">
<link rel="canonical" href="/jb-python.tk/public_html/">
<title> https://bing.com </title>
div {
	text-align: center;
iframe {
	text-align: left;
	width: 88%; margin: 2em auto; height: 21em;

<iframe style="color:red;" src="https://google.com"> </iframe>

<iframe style="color:red;" src="https://bing.com"> </iframe>

1 Like

hi thank you very much its working now.
but i did the exact same thing earlier, but specified the css inside the iframe tag instead of style tag and i did not use the div tag(must be the div tag).
anyway happy to see my webpage now :smiley:

1 Like