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