I know this type of question has been asked a million times but for some reason I can't get it to work on my site. I have a bound ListView control on the left hand side of the page. It contains a list of companies from a database. When a user clicks one of the companies, it loads data for that company into the right hand side of the page. What I want is to have the ListView extend 100% of the hieght of the browser window and then place a vertical scroll bar if there are more items in the list that space on the page. I have the ListView control in a div with id treeview.
My CSS is as follows:
html, body
{
height:100%;
margin: 0px;
padding: 0px 0px 0px 5px;
font: 10pt Verdana, Geneva, Sans-Serif;
color:#222222;
}
#treeview
{
width: 20%;
border: solid 1px black;
float: left;
...
Go to the complete details ...