I'm creating a text/graphic question with an online game embedded with HTML code. Although I can adjust the length and width of the game using the HTML code, apparently that does not guarantee that every respondent who takes the survey will experience the dimensions of the game in the same way (due to differences in display settings on personal screens/monitors). Is there any way for me to adjust the HTML code so that any respondent sees the exact same dimensions no matter what their display settings are on their personal screen/monitors?
For reference I've provided the HTML code below. Thanks so much!
Page 1 / 1
Move the iframe out of the div and set its dims directly.
This way, the iframe will always be 300x300, but if the screen size is smaller, then it will provide a scroll bar.
Hi there, Im trying to accomplish the exact same thing. What does it mean to “set its dims directly.” Are you still setting the dimensions within HTML code?
Here is my current code:
<iframe src="https://play2048.co/" width="100%" height="300" style="border:1px solid black;" title="2048 Puzzle Game"></iframe>
Thanks very much for any info
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.