• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 127
  • Last Modified:

Bootstrap input box width

I have a bootstrap group what has a textbox and a button.  I would like to remove the button.  But when I do,  the textbox width decreases greatly.  What I would like to happen is for the textbox to expand to take up the space that was occupied by the removed button.

The following is the html fragment (hopefully sufficient to address the problem):
    <div class="input-group">
      <input type="text" id="txtSearchSelectedPeopleSlide" class="form-control" name="field1" placeholder="This is Readonly input" readonly/>
          <div class="input-group-addon"><a href="#" onClick="SearchRequest(); return false;" class="">Go</a></div>
    </div>    
    

Open in new window

0
Howard Bash
Asked:
Howard Bash
1 Solution
 
Prasadh BaapaatWeb Designer & DeveloperCommented:
<div class="input-group">

remove the class from above tag, so it should be only as below:

<div>
0
 
Howard BashSenior Software EngineerAuthor Commented:
Thanks!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now