Solved

Bootstrap input box width

Posted on 2016-11-25
2
48 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
2 Comments
 
LVL 10

Accepted Solution

by:
Prasadh Baapaat earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

840 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