I have been searching forever. Sorry, I am pretty desperate at this point so I thought I would ask here. Below is an HTML sample. When column B is longer than a single page (viewport, sorry I am not sure on the correct terminology here) then A and C are not expanding in height to fill the container div. They fill the entire page but stop at a single page length even if column B is longer than a single page. Any ideas, i have been pulling my hair out. I have been playing around with height and min-height and nothing seems to work.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<style type="text/css">
html, body
{
height: 100%;
background-color: gray;
padding: 0;
margin: 0;
}
#container
{
height: 100%;
margin: auto;
padding: 0px;
width: 610px;
}
#a
{
width: 5px;
min-height: 100%;
float: left;
background-color: yellow;
}
#b
{
width: 600px;
background-color: Blue;
float:left;
min-height: 100%;
}
#c
{
width: 5px;
float:left;
min-height: 100%;
background-color: green;
}
</style>
</head>
<body>
<div id="container">
<div id="a"></div>
<div id="b">
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
<p>more</p>
</div>
<div id="c"></div>
</div>
</body>
</html>
EDIT: Before I waste someone's time explaining to me about grabbing one pixel horizontally and then tiling is that the designer gave me a vertical gradient. Starting dark at top and ending lighter. That as well as a shadow effect. The shadow runs horizontally. So there is no way to slice this and then use a clever use of tiling as far as I know.