Solved

max width bootstrap

Posted on 2013-05-22
3
540 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Javascript create file issue 4 47
Put glyphicon in my input button 4 26
Change javascript css 1 19
Zoom the page when you go in from your phone 3 10
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now