I am trying to use bootstrap in a Rails application, and I have already tried to enable bootstrap CSS directly or use bootstrap-sass / anjlab-boostrap-rails.
In three of them, I had a strange problem that I did not guess.
I have the following html code:
<div class="input-append"> <input type="text" /><a href="#" class="btn">?</a> </div>
The rendering is fine, but when I type in something in the field, nothing appears. Examining further, I found that input-prepend / append sets the font size to 0, and then the text seems to disappear.
Did I forget something when I wrote my HTML code? Is it correct?
Thank you in advance
source share