Tagged: Code block, iframe
I created a page that links to an iframe contact form. I added the link in a code block on the page. It worked at first, but then the site’s owner messed with the Sidebars setting. Now the code block is limited to 300px wide, which messes up the formatting, and I can’t figure out what the owner has done.
For whatever reason, the code block appears to be limited to 300px wide now…
Any idea what’s going on?
Thanks!
Hey Scott!
Add this to a codeblock element in the page.
<style type = "text/css">
iframe { width: 100%; min-height: 300px; }
</style>
Regards,
Elliott
Thanks for getting back to me!
Unfortunately, it didn’t work. :(
What next?
Thanks!
Oh, wait-flushing the cache a few times may have done the trick.
I’ll let you know!
Ok, it works.
Thanks!