Dinesh Santhalingam

Dinesh Santhalingam

  • NA
  • 737
  • 368.7k

How to provide a horizontal scroll bar for my select tag ?

Feb 7 2017 2:27 AM
  1.  CSS:  
  2. .select{  
  3. width:150px;  
  4. overflow:scroll;  
  5. }   
  6.    
  7. <select style=" width:150px;" id="ddllicence" class="select" >  
  8. <option value="All">All</option></select>  
But I can't able to set the horizontal scroll for my select tag.Please help me to solve this.

Answers (2)