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
>