SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist
    Join Date
    May 2006
    Posts
    441
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Scroll bars ruining layout

    Take it as a given that I HAVE to use frames for this project (as much as I don't want to) . . .

    I have never really used frames before but they mess up the layout as sometimes there is enough content to make it add a vertical scrollbar and sometimes there isn't. Other than forcing both scrollbars to be there all the time (with scrolling="yes" - which looks AWFUL!) is there a workaround for this?

    Thanks.

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    scrolling="no"?

  3. #3
    Made with a Mac! philm's Avatar
    Join Date
    Sep 2001
    Location
    Portsmouth, UK
    Posts
    735
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think there is another solution. Can you not just tweak the design leaving 15 or so pixels for the scroll bar to fill?

  4. #4
    SitePoint Zealot DonTino's Avatar
    Join Date
    Nov 2001
    Location
    Germany
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the eact same problem right now - I tried what Philm sugegested workes perfectly in FF an opera but it just won't do it in IE.

    scrolling no isn't a solution as I need the vertical scrollbar.

    scrolling="auto" works fine in FF as well but not in IE - and I don't know why ;(

    It's possible I know it becasue I've one it on some other page before but I really don't know why IE must mess up my iframes this time.

    Qunicy I think your in the same boat with me - if you don't want any scrollbar at all just use scrolling="no"

    Tino
    Discover the Divine Truth - NOW blogging
    tino-designs.com integrates the usability of the internet
    with the illustration and style of design

  5. #5
    Non-Member deathshadow's Avatar
    Join Date
    Jul 2006
    Location
    Dublin, NH
    Posts
    901
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This might sound a little 'off', but have you considered using IFRAME instead of framesets? IFRAME's can be set to auto-size to their content, making it a bit simpler to have just one scrollbar for the whole page instead of the individual scrollbar behavior of normal frames.

  6. #6
    CTO htmlguy's Avatar
    Join Date
    Feb 2005
    Location
    North Carolina
    Posts
    420
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or you could just use CSS and have the following for a frame:

    <frame style="overflow: hidden;">

    You can use this in css, or any other type of frame (iframe for example).
    HTMLGuy


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
  •