+ 1

How to increase the size of the frame in my code?

I want to increase the size of my video frame but i can't. So please tell the right code. https://code.sololearn.com/WF6aYtSrK7Z0/?ref=app https://code.sololearn.com/WF6aYtSrK7Z0/?ref=app

21st May 2019, 3:09 PM
Saurabh Kumar
Saurabh Kumar - avatar
7 Answers
+ 3
#tr { width: 100%; height: auto; }
21st May 2019, 3:28 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
CalviŐ˛ thanks and it looks more good with width="100%" height="100%"
21st May 2019, 3:33 PM
Saurabh Kumar
Saurabh Kumar - avatar
+ 1
By adding width and heght like this <iframe id="tr" width="100px" height="100px" ....
21st May 2019, 3:21 PM
Dragonxiv
Dragonxiv - avatar
+ 1
Thanks Dragonxiv it works for me
21st May 2019, 3:34 PM
Saurabh Kumar
Saurabh Kumar - avatar
+ 1
100% width and height would not make the correct aspect ratio.
21st May 2019, 3:40 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
CalviŐ˛ ok i have saved it with height="50%" which lools better. Please at it once more
21st May 2019, 3:45 PM
Saurabh Kumar
Saurabh Kumar - avatar
+ 1
CalviŐ˛ ok i have saved it with height="50%" which looks better. Please look at it once more
21st May 2019, 3:46 PM
Saurabh Kumar
Saurabh Kumar - avatar