Meb Page Not Displaying right in iframe web 2.0

I have a Web form that in order to make it fit the iframe it is displayed in this needs to be added to the webpage that xojo is creating:

Go to this page: https://www.aspe.org/xo/test.php

The width of the xojo form is 1044 the frame code is:

If you mean you’re showing a Xojo Web app in an iframe then you could put that CSS property on the iframe.

For example, inline:

<iframe src="https://XojoConsulting.com" style="overflow-x:hidden;" width="100" height="100" />

Go to this page: https://www.aspe.org/xo/test.php

The width of the xojo form is 1044 the frame code is:

adding that didn’t help.

Tim, check that url, adding style=“overflow-x:hidden;” didn’t help.

Web 1 apps displayed correctly in frames.

Go to this page: https://www.aspe.org/xo/test.php

The width of the xojo form is 1044 the frame code is:

Make sure the Minimum Width is the same.

It looks like your Checkbox width goes past your desired maximum width, which may be causing the problem. I googled a bit about iframe and overflow-x and apparently that’s not allowed.

1 Like

What checkbox, everything is within the width of the page.

All controls except the top line are in a Webcontainer.


This checkbox has a width of 961 and goes off the WebPage it is on. It seems to be the control pushing the document that wide.

2 Likes

Interesting, here it is in Xojo:

In your screenshot the checkbox is below the row of checks, in the deployed version it is above the row of checks. You might want to double check on what’s deployed.

Had the wrong form. That was indeed it, what tool did you use?

Thank you. Your great!

The page inspector. The big browsers all have one, some require you to enable developer tools. In Firefox you can hover over elements to see a view like the one I shared a screenshot of, where it shows you how big a div is.

I try :slight_smile: If you mark one of my posts as the answer it boosts the solutions count in my profile :innocent:

1 Like