Results 1 to 2 of 2

Thread: Having a problem with iframes

  1. #1
    Join Date
    Jul 2003

    Question Having a problem with iframes

    I have a page containing an iframe. In the default instance this iframe contains a menu. Clicking on an item then loads a page of text into the iframe.

    At the moment I am using
    , so that when the page of text is too long for the iframe a vertical scrollbar appears. The problem is that the text then runs under the width of the vertical scrollbar, creating a horizontal scrollbar, which is unwanted.

    If I use
    , I get only a vertical scrollbar in the text page (no horizontal one), but I also get a vertical scrollbar on every other page, whether it is needed or no. When it isn't needed I don't want to see it!!

    Please someone give me a way of solving this. I seem to be damned if I use "auto" and damned if I use "yes"!!

    Thank you!

  2. #2
    Join Date
    Apr 2005
    Sydney Australia
    you've probably got something in your iframe document that is wider that the iframe. maybe an image? if you've only got text in there try containing the width of your content with a div or table.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center