Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7873955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:39:57+00:00 2026-06-03T02:39:57+00:00

I want to use the text input field seen here: http://simple-form-bootstrap.plataformatec.com.br/articles/new (It’s the second

  • 0

I want to use the text input field seen here:

http://simple-form-bootstrap.plataformatec.com.br/articles/new

(It’s the second text input field on that page.)

I have it working in other Rails apps but for some reason in my current one there is a several-pixel gap between the prepended label and the text input. I’ve installed simple_form with the --bootstrap option, and have verified that the Rails/haml/bootstrap/bootstrap-sass versions are the same as the working rails app.

I don’t override any of the related css in my stylesheets (I commented it all out to be sure).

Any ideas why Bootstrap isn’t behaving as it should?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:39:59+00:00Added an answer on June 3, 2026 at 2:39 am

    I don’t really know what the problem is here, but I had the same thing.

    Comparing the span.add-on tag I found that they had a float: left on theirs. I added that and it seemed to do the trick.

    I also noticed they are using twitter 2.01. I’m using 2.02, so something might have changed.

    EDIT: That messed up the append span.

    .input-prepend .add-on,
    .input-append input {
      float: left;
    }
    

    Is what I added. It doesn’t feel right, but it’s working for now. Hopefully someone else more knowledgeable of bootstrap can help out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to jQuery but want to use this form validation plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ In
Hi i use the following simple jquery script to append input. Source http://muiomuio.com/web-design/add-remove-items-with-jquery <html
I have a paragraph of text below that I want to use an input
i have two text inputs like the following, i don't want to use <form>
I use masked input on a input text field for a date in the
I want to use auto-complete in one of my input field. Function: $(input[data-autocomplete]).each(function() {
I'm creating a form with dojo, and I want a range-restricted number input field.
I have a struts input text field, and I want the disabled attribute to
How do I eliminate the 'button' in my input field? I want to use
i want to use a rich textarea input field instead of the normal textarea

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.