Anyone had any luck with this yet? I've resorted to just using a non fluid row for ones that I want to offset or center but not sure if this is a bad idea?...
On Tuesday, 6 March 2012 03:45:44 UTC, Brajeshwar wrote: > > oops! replied too soon. I mistook it for centering a content in the > center of the body. > > - brajeshwar > > On Tue, Mar 6, 2012 at 9:14 AM, Brajeshwar <[email protected]> wrote: > > Why not just set a margin: auto to the body? > > > > body { > > margin: 0 auto; > > } > > > > - brajeshwar > > > > > > > > On Tue, Mar 6, 2012 at 2:14 AM, Liam <[email protected]> wrote: > >> I do not believe offset works with a fluid row. Take a look in the > >> CSS and you'll see that the offset class is specified in pixels not > >> percentages. > >> > >> On Feb 18, 6:00 pm, Dominic Webb <[email protected]> wrote: > >>> I want to center a div within the responsive layout. > >>> > >>> Im using: > >>> > >>> <div class="container-fluid"> > >>> > >>> <div class="row-fluid"> > >>> > >>> <div class="span4 offset4">...content... > >>> > >>> However I'm not getting the offset effect, leaving everything on the > left > >>> hand side of the page. Perhaps I am not using the correct set of > classes to > >>> achieve the desired outcome? > >>> > >>> Thanks in advance. > >>> Dom > >
