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 4 of 4

Thread: Scrollbars

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    23
    Member #
    4154
    Hi,
    I have a small table, where i want to use a scrollbar, when the content gets bigger.. But is there any other way to do this besides iFrames..
    I hate iFrames, especially 'cos u need 2 make an extra file as the content, which doesn't work w/ me, 'cos i have $get in my .php page.. (index.php?id=1)
    So, any other way 2 make auto scrollbars?
    thnx in advance

  2.  

  3. #2
    Junior Member
    Join Date
    Sep 2003
    Location
    Encino, CA
    Posts
    12
    Member #
    3088
    You can use something like CSS:
    #main
    {
    width:100%;
    height:100%;
    overflow:auto;
    }

    And then:
    PHP Code:
    <table border="0" cellpadding="0" cellspacing="0" width="250" height="150">
      <
    tr>
        <
    td width="100%">
        <
    div id="main">
        
    Lorem ipsum dolor sit ametconsectetuer adipiscing elitsed diam nonummy 
        nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat
    Ut 
        wisi enim ad minim veniam
    quis nostrud exerci tation ullamcorper suscipit 
        lobortis nisl ut aliquip ex ea commodo consequat
    Duis autem vel eum iriure 
        dolor in hendrerit in vulputate velit esse molestie consequat
    vel illum 
        dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio 
        dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te 
        feugait nulla facilisi
    .</td>
      </
    tr>
    </
    table

  4. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    23
    Member #
    4154
    Corey..
    THNX A LOT DUDE...!!
    This solves all the irritating probs i got.. Thnx man

  5. #4
    Junior Member
    Join Date
    Sep 2003
    Location
    Encino, CA
    Posts
    12
    Member #
    3088
    Anytime - Glad that I could help. I actually use it as well on a site.


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