Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Bootstrap input box width

Posted on 2016-11-25
2
Medium Priority
?
118 Views
Last Modified: 2016-11-25
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
Comment
Question by:Howard Bash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
Prasadh Baapaat earned 2000 total points
ID: 41901980
<div class="input-group">

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

<div>
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 41901982
Thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question