Zafar
Zafar

Reputation: 147

Input text field size not increasing using in asp.net MVC 5 bootstrap 3

I am trying to increase the width of textbox(input) which has applied bootstrap 3 styling in my project. The size is increasing in the Link but when I try to run this code in Visual Studio designer it is nor increasing the width of the text box.

Upvotes: 0

Views: 813

Answers (1)

user1752532
user1752532

Reputation:

In a default Asp Mvc web project they add a default stylesheet file in the Content/ folder called Site.css

This file has the style

input,
select,
textarea {
   max-width: 280px;
}

This is for the horizontal form in the default t4 templates.

If you remove that it should work as expected

Upvotes: 1

Related Questions