<Iframe> Help (ANSWERED) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

<Iframe> Help (ANSWERED)

is there some kinda restriction on using the iframe tage? or am i just messing something up? example <iframe src="http://www.google.com"></iframe>

10th May 2017, 2:25 AM
Metrik 🕵
Metrik 🕵 - avatar
10 Answers
+ 6
Hazel"Joey"Pickett. i use the same code on my personal web server and it works fine. must be blocked for some reason. thanks for the feedback!
24th Nov 2016, 7:16 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 4
i get the borders for the iframe but the content does not show up in the iframe from the url
24th Nov 2016, 6:04 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 4
miche i have a example of the iframe on my profile. and it is also in the question i asked above
24th Nov 2016, 7:14 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 3
i made a quick example on my profile codes
24th Nov 2016, 6:07 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 1
What is happening?
24th Nov 2016, 6:01 PM
Hazel "Joey" Pickett
Hazel "Joey" Pickett - avatar
+ 1
It could be that the iframe is set too small to see Google's search engine properly. You can set the size parameters like you would for a regular image and see if that works. I would try a different website first, though. Also, make sure you have overflow set to scroll so that if it is a size issue, you can use a scrollbar to what you can see in the frame, if that makes sense.
24th Nov 2016, 6:08 PM
Hazel "Joey" Pickett
Hazel "Joey" Pickett - avatar
+ 1
Huh, weird. It looks like there may be a restriction set up because of the error that's popping up setting it to deny access. Otherwise, it looks like it should work.
24th Nov 2016, 6:22 PM
Hazel "Joey" Pickett
Hazel "Joey" Pickett - avatar
+ 1
can u post the code in?
24th Nov 2016, 7:06 PM
miche
+ 1
@Metrik, if you put the url of Google into your iframe code, most probably it does not work. because of the restrictions of Google. Another example is the restrictions of Dropbox, too. Maybe there is a way of this problem but this is what I know.
24th Nov 2016, 9:03 PM
Muratist
Muratist - avatar
+ 1
Well got a better answer for this. content must be served over HTTPS! wont work for me :( Don't have the money to spend on it :( o well. Hope this can help someone else!
10th May 2017, 2:23 AM
Metrik 🕵
Metrik 🕵 - avatar