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.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    2
    Member #
    13450
    How can I make it so there is a scroller inside of the body of my site, so I don't have to extend the page to add more content. Please tell me if I need to clarify my question.
    http://www.s169070154.onlinehome.us - temporary domain
    -Alexander Baron

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    If you wrap your content in a `div' element and give it the CSS property `overflow: auto;', that will do the trick.

    EDIT: Note that for it to work properly, you of course also have to give it a set height and width using CSS, as well.

  4. #3
    Senior Member minute44's Avatar
    Join Date
    Mar 2006
    Location
    Nottingham, UK
    Posts
    264
    Member #
    12849
    Quote Originally Posted by Shadowfiend
    If you wrap your content in a `div' element and give it the CSS property `overflow: auto;', that will do the trick.

    EDIT: Note that for it to work properly, you of course also have to give it a set height and width using CSS, as well.
    This will do the trick but it is very bad practice to actively include scrollbars unless you absolutely have to. Remember that....
    No ma'am, we in IT don't have a sense of humor we're aware of.

  5. #4
    Junior Member
    Join Date
    Jun 2006
    Posts
    2
    Member #
    13450
    Quote Originally Posted by minute44
    This will do the trick but it is very bad practice to actively include scrollbars unless you absolutely have to. Remember that....
    Why is it a "very bad" practice?

  6. #5
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Scrollbars mean your content isn't immediately visible. Moreover, when there inside the page, they can also interrupt your layout needlessly. The ones that are part of the browser are essentially excluded in the viewer's mind, whereas if they're in the middle of the page they're immediately apparent.

  7. #6
    Senior Member
    Join Date
    Apr 2006
    Posts
    146
    Member #
    13110
    Liked
    1 times
    and they take away from your layout unless it matches your color scheme


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