Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

max width bootstrap

Posted on 2013-05-22
3
Medium Priority
?
560 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 43

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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

916 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