Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with sidebar height Re: Help with sidebar height

#59636
Roughnite
Member

try this:

#sidebar {
width: 241px;
min-height: 690px;
background: #000000 url(images/sidebarbg.jpg) no-repeat top;
float: left;
border-bottom: #000000 solid 5px;
border-left: #000000 solid 5px;
left: 0px;
top: 0px;
bottom: 0px;
}

since you already have the sidebar and content divs inside a container, this will make the top and bottom stick to the container as it expands, hence making it the same size as your content div. hope that helps

ps- you might have to make the side bar an absolute positioned div for this to work, im not sure