Topic: Textarea rows
                  
                  info25
                  free
                  asked 9 years ago
                
                Hi,
I use Pro MDB 4.0.2. How can I increase the number of rows of the textarea? rows = "10" does not work. 
And is it possible to display a vertical Srollbar?
Thanks,
Joerg
                
                  
                
                
                
                  
                  
                  
                    
                    
                
              
              
              
            
                      
                        Add comment
                      
                    
                  
                
                      
                      Marta Wierzbicka
                      free
                        answered 9 years ago
                    
                    Hi,
add this code to your CSS file to increase height of your textarea: 
                    
                    
                    
                    
                  
                  
                textarea.md-textarea {
            height: 12rem;
        }
and about scrollbar, if you want scrollbar always visible, add this code to your CSS file: 
textarea.md-textarea {
            overflow-y: scroll;
        }
 
 and if you want scrollbar visible only when it's needed, change "scroll" to "auto"
                    
                      FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Answered
Specification of the issue
              - ForumUser: Free
 - Premium support: No
 - Technology: General Bootstrap questions
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No