Solved

max width bootstrap

Posted on 2013-05-22
3
546 Views
Last Modified: 2013-05-24
Hi,
In bootstrap I want the screen max width to be about 900. Currently I get the display across whole desktop and it is too big.

Do I use a media query to solve this in bootstrap or is there another way?

 <div class="container-fluid">
..
0
Comment
Question by:jagguy
3 Comments
 
LVL 42

Expert Comment

by:David S.
ID: 39189822
It seems we need more information to be able to answer your question.

Do you mean Twitter Bootstrap or something else?

A link to an example page would be helpful too, since not everyone has experience with whichever "bootstrap" you're using.
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39191259
In your CSS just use:

body {max-width:900px;}

you probably will also need to set an overflow property as well.

However with virtually no information from you, and your failure to respond to the previous comment we are probably just wasting our time trying to help you.

Cd&
0
 

Author Comment

by:jagguy
ID: 39192964
I didnt see the previous comment until now and I checked the question yesterday at the same time without an answer. Unless I didnt see this ?

I am talking about twitter bootstrap yes. I have a responsive webpage using twitter bootstrap so I wonder if there was a trick to setting max width of a page that adjusts using this grid.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question