Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    Member #
    9281
    We have an iframe in a table section. ' scrolling="auto" ' is enabled in the iframe. When long (vertically) content is placed in the iframe, IE (properly) puts up a vertical scroll bar - the content is never too wide, so a horizontal scroll bar never appears. However.... the same content in the same iframe viewed in Firefox is weird - Firefox puts up a second vertical scroll bar, hidden under the 'normal' one, and add a horizontal scroll bar at the bottom. This is very annoying, since you cannot scroll down (vertically) without first scrolling right to make the 'new' scrollbar visible.
    What the heck is going on here? Sample is:
    <td>
    <iframe scrolling="auto" frameborder="0" name="products" height="510" width="100%" src="/customers/merchants/menus/categories.ste"></iframe>
    </td>

  2.  

  3. #2
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    A link to the page/website in queston would probably be more helpful in this case. If it's not available online you could always attach it to the end of a post.

  4. #3
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    Member #
    9281
    Sorry: here is link + instructions on how to see

    From here:
    https://www.iwaitless.com/customers/...voidTime=false
    select any sub. This will present you with the options list in the iframe. You will see different behaviours on IE vs. Firefox.

    Quote Originally Posted by Trico
    A link to the page/website in queston would probably be more helpful in this case. If it's not available online you could always attach it to the end of a post.

  5. #4
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    The link you provided times out at a blank screen?

  6. #5
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    Member #
    9281
    Try this: go to www.iwaitless.com
    Select "Reston/Herndon/Sterling" in the location/area combo.
    Hit "search"
    Scroll down the list until you see any "Subway" restaurant and select it.
    Now, select any sub ("add") and you should see the options list with the problem.

    Thanks, by the way, for helping. This is making me nuts...

  7. #6
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    The inner scrollbar is being casused by over flowing content, if you cycle the text size in FireFox using your (mouse wheel + Ctrl) you will see the affect it is having. By applying ...style="overflow: hidden;" to whatever container you're using you might be able to mask this.

    I'm not sure what's causing the horizontal bar, but you might want to change to using specific pixel values. You can also try zeroing out the iFrame margins.

    Using a doctype wouldn't hurt either...

  8. #7
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    Member #
    9281
    Trico found the solution!

    Trico - you 'da man!
    overflow: hidden did the trick, we did not need to go to pixels at all. Behaviour is now identical (and correct) in both IE and Firefox.

    Quote Originally Posted by Trico
    The inner scrollbar is being casused by over flowing content, if you cycle the text size in FireFox using your (mouse wheel + Ctrl) you will see the affect it is having. By applying ...style="overflow: hidden;" to whatever container you're using you might be able to mask this.

    I'm not sure what's causing the horizontal bar, but you might want to change to using specific pixel values. You can also try zeroing out the iFrame margins.

    Using a doctype wouldn't hurt either...


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:15 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com