I just tried 2.1 and it worked without even removing the span in the parent
div!

Thanks for the help.

Wingy

On Mon, Aug 20, 2012 at 6:21 AM, Kais Hassan <[email protected]> wrote:

> I have tried with the new version 2.1 and it is working as Phil said just
> remove the span from the parent
>
>         <div style="background-color: grey;">
>
>           <input type="text" class="span12">
>           <a class="btn btn-primary">Create</a>
>           <a class="btn btn-danger">Delete</a>
>         </div>
>
>
> On Sunday, August 19, 2012 6:02:38 PM UTC+3, wingy wrote:
>
>> Unfortunately that messes up the whole layout.
>>
>> It should be a sidebar with content to the right.
>>
>> Wingy
>>
>> On Sun, Aug 19, 2012 at 3:52 PM, Phil Doughty <[email protected]> wrote:
>>
>>> Try removing the class of span3 from the parent div.
>>>
>>> <div *class="span3"* style="background-color: grey;"> <input
>>> type="text" class="span12"
>>>  Phil DoughtyWeb Designer / Guitarist Phone: +971 50 8879936
>>>
>>>
>>>
>>>
>>>
>>> On 19 August 2012 19:40, Johnny Luu <[email protected]> wrote:
>>>
>>>> I added span12 for the input field and it works on wide screen.
>>>>
>>>> However, when the screen gets smaller and the content div is placed
>>>> beneath the sidebar div then it has a fixed width again.
>>>>
>>>> Here is a demo: 
>>>> http://plunker.no.de/**edit/CmVgwT?live=preview<http://plunker.no.de/edit/CmVgwT?live=preview>
>>>>
>>>> You have to click on Run to get into fullscreen mode.
>>>>
>>>> Then resize the browser width and it will still work until the content
>>>> div is below the sidebar div.
>>>>
>>>> I am using fluid layout.
>>>>
>>>> Is there a way to make the input field as wide as the sidebar even when
>>>> the layout is changed?
>>>>
>>>> Wingy
>>>>
>>>>
>>>> On Sun, Aug 19, 2012 at 4:56 AM, Kenneth <[email protected]> wrote:
>>>>
>>>>> Add .span* to your input as appropriate.
>>>>
>>>>
>>>>
>>>
>>

Reply via email to