Hi,
I've used to have this problem too, the solution I found was:
body {
margin: 0 auto;
max-width: 940px;
}
or you can apply it to the .container-fluid class:
.container-fluid {
margin: 0 auto;
max-width: 940px;
}
The problem is that you'll have a fixed fluid layout, which is not really
the intention of the fluidity in Bootstrap, but if it needs to be like
that, you have to go for it.
Hope it helps,
Raul.
On Fri, May 24, 2013 at 7:03 PM, iange87 <[email protected]> wrote:
> I *think* if you use container rather than container-fluid, it'll max out
> at 940px wide. You might need to use row rather than row-fluid too (if you
> have any, of course).
>
>
> On Thursday, May 23, 2013 12:25:13 AM UTC+1, [email protected] wrote:
>>
>> Hi,
>>
>> In bootstrap if I want to set a max width for desktops as I dont like the
>> webpage spread across a wide screen, I can use media query in my own css
>> or just set the max width of the whole screen in pixels? This is for
>> responsive design.
>> What do I do in bootstrap to set a max width for the screen and still
>> enable responsive features?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "twitter-bootstrap" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.