Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

iFrame horizontal scrolling problem. PLEASE HELP

  • 29-09-2005 02:29PM
    #1
    Registered Users, Registered Users 2 Posts: 146 ✭✭


    Can someone please explain to me why this page:

    http://www.tlpromotions.com/workspace/sitemap.html

    has a horizontal scrollbar on the iFrame when using IE 6.0?

    I have tried everything I can think of including validating all the markup, using overflow-x:hidden in every place possible and doubly, triple checking that the contents of the sitemap are well within the frame width...

    I will be most indebted to anyone who solves this, cos I am at a complete loss.


Comments

  • Registered Users, Registered Users 2 Posts: 3,890 ✭✭✭cgarvey


    Is it to do with the table width being set to 516px (and IE not taking the width of the vertical scrollbar in to account, where as FF does)?

    .cg


  • Registered Users, Registered Users 2 Posts: 146 ✭✭limbovski


    nope dont think so. i tried reducing the width to cater for the vertical scrollbar and yet the horizontal one remains...... ahhhhhhhhhhhh! :mad: :mad: :mad:


  • Moderators Posts: 6,951 ✭✭✭Spocker


    And the answer is....

    remove the following from the DTD definition "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"

    and the horizontal scrollbar will disappear, leaving the vertical. If you still want to use the full DTD on the sitemap page, there may be a stricter one you can use (but I don't know off the top of my head - can dig it out tonight if you insist ;) )


  • Registered Users, Registered Users 2 Posts: 146 ✭✭limbovski


    good stuff spock, thanks a million.

    I got it after all that. basically remove the dtd ref. thanks


Advertisement