Results 1 to 3 of 3

Thread: Iframe scroll bar help!

  1. #1
    Join Date
    Nov 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe scroll bar help!

    Hi,

    I am having problems with removing horizontal scrollbars within an iframe.

    http://www.dynamicdrive.com/forums/a...hp/t-3453.html

    If you take a look at that thread elswhere, bigguysf has given 4 steps to remove the horizontal scrollbar in three browsers.

    I am using IE and FF at the moment, and after using the 4 steps described in the above thread, IE is fine, with only a vertical scroll bar present.

    However in FF, there is no vertical scroll bar, only a horizontal one, which i do not want and which is useless anyway, as the iframe content page is smalled than the iframe, so a user could not scroll horizontally.

    Any help would be greatly appreciated, i have been searching for days and cannot find anything!!

    Thanks!

  2. #2
    Join Date
    Nov 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Sorted problem out now.

    For those who have the same problem i found this which helped me and sorted out the various browser issues when no other solution worked, and believe me i tried many.

    "If you had the problem to create an iframe with only vertical scrolling and you don't know hot to make it read the following lines.
    to have only vertical scrolling you must insert into the tag <iframe> this code:
    style="overflow-x: hidden;"
    So, if for example you want to create an iframe with a width of 200px and with only vertcal scrolling, you must write:
    <iframe width="200" style="overflow-x: hidden;">"


    Inserting the overflow attribute into the iframe code is what worked for me.

  3. #3
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks soo much.. u fixed my problem !

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
  •