• Hello, I’m trying to put an <iframe> in one of the pages of a demo blog. I can put in the code ok, but regardless of the size settings, the displayed <iframe> is small compared to what I need it to be.

    Any ideas on this. I’d like the resulting frame to be 100% or 500px wide and it still remains small.

    I’m using a default wordpress install.

    Jared

Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you give it its full dimensions? Here’s an example:

    <iframe src="https://blah.com/blah/blah.php"
    width="120"
    height="240"
    scrolling="no"
    marginwidth="0"
    marginheight="0"
    frameborder="0"></iframe>

    Thread Starter WP Realty

    (@php4ever)

    Yep, I always do that so there are no problems.

    Jared

    So, did you fix it? Or is it still a problem?

    If it’s still a problem even with the dimensions, I’m wondering if it’s being affected by the CSS specifications of the container it’s in. For instance, the font-size. I’ve often found that font-sizes for containers affect more than just the font size.

    Thread Starter WP Realty

    (@php4ever)

    Nope it did not fix it. But Im not sure changing the font size has much to do with it. I tested the font sizes earlier and no success.
    My steps are to first create a new page, then drop in the <iframe> block of info and submit it. I check the page from the front end of the site, only to see the <iframe> area being a small box on the left side of the page. Very unusual considering I’ve used <iframe> in about 15 of my clients sites.

    Jared

    Thread Starter WP Realty

    (@php4ever)

    *bump*

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘<iframe> in Word Press’ is closed to new replies.