Hi !
 
CSS should do the thing.
You should only take care of specifying a fixed width to the container surrounding your selectManyListbox.
Note that IE seems to have some problems to display it efficiently
 
Look at the basic HTML example below :
 
<html>
<head>
  <style type="text/css">
    #scroller{
      width: 100px;
      overflow: auto;
    }
  </style>
</head>
<body>
  <div id="scroller">
    <select>
      <option value ="1">This sample text should be very very very long</option>
      <option value ="2" selected="selected">Long enough to display a scroll bar</option>
      <option value ="3" >Are you sure</option>
      <option value ="4">Yes Sir !</option>
    </select>
  </div>
</body>
</html>
 
Frederic



De : Hagay Avisar [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 25 janvier 2006 18:40
À : '[email protected]'
Objet : FW: selectManyListbox component.
Importance : Haute

 

Hi All,

How can I add scroll bar to "selectManyListbox" component?

I need only horizontal scroll bar and only when the text is big.

I have try to use CSS (overflow: auto and overflow: scroll) but it didn't work.

10x.

Hagay

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Reply via email to