elize elize - 1 year ago 75
CSS Question

how to create a narrow centered column in twitter-bootstrap-3?

I used this code to create a narrow centered column in bootstrap:

<div class="container" style="width:640px!important;max-width:100%!important;">
<div class="well">content</div>

how can make it standard and responsive in bootstrap?

Answer Source

I don't know what you mean by 'make it standard' but the reason your column is not responsive is because you assigned max-width and width the wrong values. Your code should be as follows:

<div class="container" style="width: 100% !important; max-width: 640px !important;">
  <div class="well">content</div>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download