I am trying to embed a simulator on a wordpress website. I would like to include multiple simulators on a single page, but the default size is a little too large. I figured out how to change the size of the simulator by changing the width and height percentages in the iframe, but unfortunately the div container doesn’t scale down with it. Is there a way to change the size of the div to fit around the smaller simulator size?
Yeah, resizing the simulator can be a bit tedious - ideally it should ‘just work’ and fit the container, but you’ll need to play with the width / height of the container a bit to get it just right - e.g. https://repl.it/repls/RecklessSteelblueStrategy#index.html
Makes sense. I thought maybe there was a trick I wasn’t seeing. I will keep playing around with it. Thank you for the reply. I appreciate it.
Just tested and that worked perfectly. Thank you!!