• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table in DIV not Displaying Vertical Scroll Bar

 
Steve Dyke
Ranch Hand
Posts: 1621
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1621
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add a whitespace

Eric
 
Steve Dyke
Ranch Hand
Posts: 1621
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:add a whitespace

Eric


Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic