My input-prepend's are already in a form-horizontal form.

---
Sébastien Arbogast
http://sebastien-arbogast.com



2012/2/8 Sam Sherlock <[email protected]>:
> Yeah that prepend/append inputs are dreamy wonders
>
> try this
>
> <form class="form-inline">
>
> <div class="input-prepend">
>      <span class="add-on">@</span>
>      <input type="text" id="nickname" name="nickname">
>
>    </div>
>    <div class="input-prepend">
>      <span class="add-on">#</span>
>      <input type="text" id="hashtag" name="hashtag">
>    </div></form>
>
>
>  - S
>
>
>
>
>
> On 7 February 2012 23:13, Sebastien ARBOGAST <[email protected]>
> wrote:
>>
>> Text-prepended textfields are particularly useful for things like
>> asking for twitter nickname and hashtag:
>>
>> <div class="input-prepend">
>>      <span class="add-on">@</span>
>>      <input type="text" name="nickname" id="nickname"/>
>>    </div>
>>    <div class="input-prepend">
>>      <span class="add-on">#</span>
>>      <input type="text" name="hashtag" id="hashtag"/>
>>    </div>
>>
>> How can I put both fields on the same line? I have tried to replace
>> .input-prepend div's by span's but then I get .add-on's and then
>> textfields.
>>
>> Cheers,
>> ---
>> Sébastien Arbogast
>> http://sebastien-arbogast.com
>
>

Reply via email to