Support » Themes and Templates » I have lost both sidebars when using an iframe

  • Resolved AVFC

    (@avfc)


    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 7milesdown

    (@7milesdown)

    Iframe not large enough?

    ptvguy

    (@ptvguy)

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

    AVFC

    (@avfc)

    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>

    ptvguy

    (@ptvguy)

    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.

    AVFC

    (@avfc)

    thanks will give it a go

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I have lost both sidebars when using an iframe’ is closed to new replies.