Jump to content

container div height w overflow


jimfog

Recommended Posts

I have a container with list items:

    <fieldset id="column_contai">
        <ul>
            <li>maria</li>
            <li>anthi</li>
            <li>Nikos</li>
           <li>maria</li>
            <li>anthi</li>
            <li>Nikos</li>
             <li>maria</li>
            <li>anthi</li>
            <li>Nikos</li>
           <li>maria</li>
            <li>anthi</li>
            <li>Nikos</li>
        </ul>
            </fieldset>

I want the height to be auto adjusted depending on the content and when it reaches a threshold(PX for example)...hide the rest and display a scrollbar.

I know that the last one is a metter of overflow but I do not kbow how to achieve the first feature.

Link to comment
Share on other sites

that is what I was expecting to hear...many thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...