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 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    1
    Member #
    5578
    hi. i have a dilemma. ive created a table that scrolls using the div tag and the auto atribbute. It works fine, and my content scrolls just as i need it to, however... in the browser window the page is as long the table is in dreamweaver thereby defeating the point of putting content in a scrollable table. heres a link...

    www.marquegroup.com/test/employ.html

    see all that extra white space? the page extends to the same size as the div table without a scroll bar, but thats just odd and completely eliminates the use of the div tag for me..... is there a workaround? realize im not elite here.. i know some standard code, but thats why im using dreamweaver. im a graphics guru myself.

  2.  

  3. #2
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Your div doesn't scroll in Mozilla, only IE.
    Change
    Code:
    overflow:auto
    to
    Code:
    overflow:scroll

  4. #3
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Get rid of the space between the height value and its following unit, so it looks like the following.

    Code:
    height: 300px;
    I'd recommend you leave the overflow set as 'auto' otherwise you will gain an additional set of horizontal scrollbars. Once the height is fixed it should act normaly.

    If you add the following CSS to either your external sheet or the stuff in the <head></head> it should clip off all that extra white-space. (you might need to tweak the height)

    Code:
    body {
    
    height: 700px;
    overflow: hidden; }
    Let us know how things work out ?


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