dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: iFrame help

  1. #1
    Join Date
    Aug 2011
    Posts
    1

    iFrame help

    I am currently redoing my fraternity school website and I am having a problem with my iFrame. I want scrolling bars but not on the pages that don't necessarily need them. I set the scrolling to "Auto" and decreased the table size of the pages that are supposed to be loaded into the iFrame but this doesn't remove the scrolling bars. Any help is greatly appreciated.

    Here is the link: http://apa.org.msstate.edu/

  2. #2
    Join Date
    Apr 2010
    Posts
    121
    look at your styles.css

    Body's width is set to 960px, while the Iframes width is set to only 800.

    In each of your pages in the Iframe, you are loading the style, which is setting the content inside your Iframe larger than the Iframe itself. To make the scrollbars go away, you will need to set the width of the body inside of the iframe to less than 800. For example, 799px.

    Alternatively, you can make the Iframe bigger, say 961px.

    Good Luck! Tell me if it worked!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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



Recent Articles