Forums

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

Home Forums CSS [Solved] Position Problem Re: [Solved] Position Problem

#68696
ryanMoultrup
Member

I don’t understand what you mean by it will not auto-lengthen. when I add an absolute position to this bit of code like this

.file #navigation li ul {
position:absolute;
z-index:2;
display: none;
}

It works fine for me viewing it from my computer. You need to be more specific and I will be able to help you further.

try removing the height:100% from this bit of code

.file #mainContent {
margin: 0 250px 0 0;
padding: 0 0px;
height:100%;
}

The height will automatically be 100% of whatever content you have in the element.