WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I have lost both sidebars when using an iframe (6 posts)

  1. AVFC
    Member
    Posted 8 years ago #

    hi,

    i have put an iframe on to an individual page and completley lost lost both sidebars from this page, the iframe is the right size to be able to have both sidebars they have just completley dissapeared.

    any help on this matter would be appreciated

    paul

  2. 7milesdown
    Member
    Posted 8 years ago #

    Iframe not large enough?

  3. ptvguy
    Member
    Posted 8 years ago #

    I don't think that anyone can help you much without a link or some code to look at.

  4. AVFC
    Member
    Posted 8 years ago #

    here is the page i have put it on

    http://www.spreadbuddy.co.uk/useful-gambling-books-and-guides/

    this is the code i have put in

    <iframe
    src="http://www.highstakes.co.uk/affiliates/index.php?a=**********"
    frameborder="0" width="100%" height="2000" scrolling="no" /></iframe>

  5. ptvguy
    Member
    Posted 8 years ago #

    Although I don't recommend the use of an iframe, the first problem that I'm seeing is the use of XHTML self-closing ("/") in the initial iframe tag. That's preventing the closing iframe tag from being used. In fact it's not even making it to the browser. Here's what I'm seeing on your page when I view it on my end:

    <h2 class="post-title">Useful Gambling Books and Guides</h2>
    <div class="post-content">
    <iframe src="http://www.highstakes.co.uk/affiliates/index.php?a=spreadbuddy" frameborder="0" width="100%" scrolling="no" height="2000" />
    </div>

    Notice that the closing iframe tage, </iframe>, has been truncated. I don't know if fixing this will eliminate the whole problem, but it's a good starting point.

  6. AVFC
    Member
    Posted 8 years ago #

    thanks will give it a go

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags