• Post Reply Bookmark Topic Watch Topic
  • New Topic

Division tag in dhtml  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using division in dhtml to get scrollable tables.For that i am specifying width and hight like
<div id = "Div1" style="overflow:auto;width:30%;height:40%">
But if i am having rows in table less than the specified height.
div's horizontal scroll bar is appearing so for from my table because of table row is exceeding horizontal limit.
but i need that horizontal scroll should come at the last row of the table but it should not allow to grow the table after the specified height.
PLease give the solution
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this message to "HTML and JavaScript" forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!