SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scrolling vertical, not horizontal with frames

    I know the obvious answer is "Set the width attribute for the content".

    Well, I reckon a more obvious answer should be <FRAME SCROLLING="VERTICAL">

    It appears that we have only 3 options: No, Yes or Auto.

    Is this right? I don't want auto horizontal bars popping up by accident! But I do want auto vertical bars.

    Cheers.

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you don't mind me asking (I'm just curious), why are you using frames for this project?

    (And before the anti-frames mafia shows up and says "don't use frames, use includes instead" keep in mind that a lot of free hosting providers don't allow people to use server side includes, ASP or PHP code in their pages.)

  3. #3
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Studio Junkies, what you're suggesting is that your content may be wider than 100% of the page but you don't want your users to be able to scroll to see it?

    You are correct with your assessment of the options and if you only want vertical scrolling the setting the scrolling to auto should allow this and aslong as you ensure that your content fits inside the frame then you should only get vertical scrolling.

    You could set a width of 100% for your content inside this frame so that it also expands relative to the size of the users window which may be the best bet.

    Hope that helps in a round about way?


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
  •