aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Table in DIV not Displaying Vertical Scroll Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Table in DIV not Displaying Vertical Scroll Bar" Watch "Table in DIV not Displaying Vertical Scroll Bar" New topic
Author

Table in DIV not Displaying Vertical Scroll Bar

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
I have a DIV with overflow: auto called out in the CSS. The DIV displays a JSP using jQuery.load. The JSP has a table, listing several remote data records. The table is displaying with a horizontal scroll bar but it does not have the vertical scroll bar. The table is scrunching veritically.

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Did you set a height to the div? You may need to set one to the table or rows/cells

Eric
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
Eric Pascarello wrote:Did you set a height to the div? You may need to set one to the table or rows/cells

Eric


Okay, that fixed it, thanks.

One more question on this table. When the cell is empty the borders disappear making the table sort of ugly. How can this be fixed?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
add a whitespace

Eric
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
Eric Pascarello wrote:add a whitespace

Eric


Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Table in DIV not Displaying Vertical Scroll Bar