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 > > 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. > > >
