Hi at all

I have a dynamic <div> with a <ul><li>................</li</ul> into

Numbers of <li> is variable from zero to 100/200/300 (I dont know )

If numbers of <li> is height my <div> is too height so I want that it scroll 
verically without scrollbars and I want that it cannot have height over 200 px 

It can (must) have naturally height if <li> are less

I do not want see scrollbars also

Into my css I wrote:

div.suggest {

text-align:left;

width:200px;

border:1px solid red;

display:none

max-height:200px;

overflow:hidden;

position:relative;

}

But <fiv> is always too big and scroll only horizontally but not vertically and 
scrollbars are visible.

Thank in advance

Peter
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to