Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #491062

    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!

    #491492

    Hey Scott!

    Add this to a codeblock element in the page.

    <style type = "text/css">
    iframe { width: 100%; min-height: 300px; }
    </style>

    Regards,
    Elliott

    #491560

    Thanks for getting back to me!

    Unfortunately, it didn’t work. :(

    What next?

    Thanks!

    #491561

    Oh, wait-flushing the cache a few times may have done the trick.

    I’ll let you know!

    #491565

    Ok, it works.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Code Block-Treated as a Sidebar’ is closed to new replies.