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.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    14
    Member #
    6791
    Does anyone know how I can disable the horizontal scrollbar in an iframe. The src page that is loaded into the iframe is smaller than the iframe, so in theory the hor scroll should not even be there... but it is..

    Anyone?

    Thanks
    liquid

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    14
    Member #
    6791
    Yes, Im aware that I can turn them off completely, but I need the vertical scrollbar just not the horizontal...

  5. #4
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Keep the value set as scrolling="auto" and ensure the src page doesn't have anything that exceeds the width value of the iFrame itself. (which you say you've done) other than that give margin/padding values of 0 in the line that calls both the iFrame and then in the actual html src page itself within the <body>

    Do you have a link to it?

  6. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    14
    Member #
    6791
    I will be sure to check my src size, and that the padding etc.. is 0.
    The link is

    http://www.rockstockphoto.com/signup.php

    Thanks

  7. #6
    Junior Member
    Join Date
    Jul 2004
    Posts
    14
    Member #
    6791
    I also swore you could customize the scrollbars (color, etc..). but thats not working either. Its been a while since Ive messed with these iframes. Now I remember why!

    Checked all padding etc.. all is good but still a horizontal scroller.

    hmm....

  8. #7
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Well it looks like an IE only bug/issue, I'll edit this post when I have chance to look at it tomorrow.

  9. #8
    Junior Member
    Join Date
    Jul 2004
    Posts
    14
    Member #
    6791
    Right on, thanks!

  10. #9
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    hey, i looked at the signup page, and for your iframe, you have:
    <iframe align="top" allowtransparency="yes" class="text" frameborder="0" name="regi" scrolling="auto" src="register.php" width="464" height="400"></iframe>

    but i think that you also need to try adding:
    marginheight="0" marginwidth="0"

    in the iframe tag, like trico mentioned. that is what i always have to do with my iframes to get them to not horizontally scroll.

    heather
    choosy developers choose gif!
    website | paintings | blog

  11. #10
    Junior Member
    Join Date
    Jul 2004
    Posts
    14
    Member #
    6791
    Thanks for the suggestion ras, but it didnt work. The iframe seems to render fine on mac/netscape, so Im figuring it must be a pc/ie bug or something... If you think of anything else please let me know.
    Also, can you get custom scrollbars in an iframe? (ie. color)

    Tried this on all pages but doesnt seem to work. Any ideas?

    body {

    scrollbar-arrow-color: gray;
    scrollbar-base-color: black;
    scrollbar-dark-shadow-color: black;
    scrollbar-track-color: gray;
    scrollbar-face-color: silver;
    scrollbar-shadow-color: white;
    scrollbar-highlight-color: silver;
    scrollbar-3d-light-color: black;
    }

    Thanks
    liquid


Page 1 of 2 1 2 LastLast

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 07:02 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com