+ 1

How can make iframe full width and height?

Check my code and output and please help, thanks. https://code.sololearn.com/WmnviKYU1D6m/?ref=app

8th Jan 2022, 3:00 AM
Hacker
Hacker - avatar
7 Respuestas
+ 9
/*try this */ body{ margin:0; } iframe { position:fixed; top:0; left:0; height:100%; width:100%; border:none; }
8th Jan 2022, 3:18 AM
Simba
Simba - avatar
8th Jan 2022, 3:18 AM
ODLNT
ODLNT - avatar
+ 1
Thank you, that work correctly 💪🎉
8th Jan 2022, 3:23 AM
Hacker
Hacker - avatar
0
Give iframe id and then css it width:100%; height: auto;
8th Jan 2022, 3:08 AM
Shadoff
Shadoff - avatar
0
I try that in css with iframe but didn't work. Thanks
8th Jan 2022, 3:10 AM
Hacker
Hacker - avatar
0
I change it, but didn't work..
8th Jan 2022, 3:15 AM
Hacker
Hacker - avatar
0
Can I get an element from iframe? https://code.sololearn.com/WmnviKYU1D6m/?ref=app
10th Jan 2022, 12:58 AM
Hacker
Hacker - avatar