Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2006
    Posts
    9
    Tokens
    0

    Post iframes scrolling

    ok i know you can disable scroll bars in you iframes but what if you only want to disable the horizontal one?

    i have tried using <body style="overflow-x: hidden"> in the page it is linking to but with no luck - any ideas?

    p.s. im pretty useless at css and javascript so dont tell me lots of jargon lol

    please tell me if it can be done - ckenneh

  2. #2
    Join Date
    Aug 2005
    Location
    Location Location
    Posts
    1,730
    Tokens
    0

    Latest Awards:

    Default

    <iframe scrolling="yes"

  3. #3
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    he only wants one of them
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  4. #4
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Don't think you can disable just one.

  5. #5
    Join Date
    Jun 2006
    Posts
    9
    Tokens
    0

    Default

    yep only the horizontal one (bottom)

  6. #6
    Join Date
    Aug 2005
    Location
    Location Location
    Posts
    1,730
    Tokens
    0

    Latest Awards:

    Default

    wouldnt ity be

    width="100%"

    Then it wouldnt scroll....

  7. #7
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    If you put width="100%" the iFrame would be the size of the page your putting the iFrame on OR the size of the table you putting the iFrame in. It will fill its complete width. The contents inside would cause the horizantal scroll bars the appear if its contents are to large.

    To my knowledge, it isn't possible. Some internet language nerds might know.
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  8. #8
    Join Date
    Aug 2005
    Location
    Location Location
    Posts
    1,730
    Tokens
    0

    Latest Awards:

    Default

    width="100%"

    means that the width will only be 100% of the table you've put the iframe in, not creating horizontal scrollbars

  9. #9
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    you don't know what your on about. if you put the term 'width="100%"' inside an iframe it will make the width of the iFrame as big as it can possibly be. It would cover your entire page's width and its size would change when you resize your browsers window. If its in a table then it will reach the tables size. aka <table size="500"...<tr><td... then inside <iframe width="100%" it will make the iFrame 500 pixels in width, covering all of what it can be in size.
    Last edited by Halting; 13-06-2006 at 05:40 PM.
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.

  10. #10
    Join Date
    Aug 2005
    Location
    Location Location
    Posts
    1,730
    Tokens
    0

    Latest Awards:

    Default

    Code:
    <iframe name="main" width="100%" height="100%" frameborder="0" allowtransparency="true" src="home.php"></iframe>
    That's mine, mine doesnt have a horizontal scrollbar

Page 1 of 2 12 LastLast

Posting Permissions

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