Results 1 to 3 of 3

Thread: firefox scrolling issues

  1. #1
    Join Date
    Jan 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default firefox scrolling issues

    im doing my new website with frames and iframes, and everything looks great in IE but when I look at it in firefox at ton of stuff is mess up with things centering and scrolling issues. frames that shouldn't be scrolling are scrolling and i cant figure out why it's doing it in firefox.

    is there a certain code that you can put in to disable scrolling for firefox??

    feel free to check out my site

    http://www.swc3d.com/html

    thanks for the help!

    scott

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, I was just viewing your site in FF and though I thoroughly enjoyed it, especially the QT animation, I could see no scrollbars other than the one on the page itself. To prevent scrollbars from appearing on (i)frames, the surest method is to set the style on the page showing through the (i)frame:

    Code:
    <style type="text/css">
    body {
    overflow:hidden;
    }
    </style>
    You can also set the scrolling attribute on the frame or iframe:

    Code:
    <iframe scrolling="no" frameborder="0"></iframe>
    However, usually, just setting it to auto is enough if you make absolutely sure the content that will show through it will not exceed the (i)frame's dimensions by even a single pixel.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    awesome, thanks john! glad you liked my demo reel it was a lot of work.

    yea the scroll bars themselves aren't the problems im having, its just the frame can be scrolled with the middle scroll wheel if the curser is over it, and i dont like that at all. i tried scrolling="no" but i cant seem to get that to work. i didn't have the frameborder in there though, so maybe that is my problem.

    i think that my content in the frames might just be larger than the frame it self so i will have to go through and size everthing down if this doesn't work.

    thanks for all the help! you deffinetly know your stuff!

    scott

Bookmarks

Posting Permissions

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