Solved

max width bootstrap

Posted on 2013-05-22
3
554 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Suggested Courses

623 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