html - Position Modal box in Twitter bootstrap 3 -


I am trying to fix a Twitter Bootstrap 3 model in the upper right corner of the body.

So far I have tried:

  • Status: fixed; The correct 0px (left and top works but has no effect on the right)
  • Translate: It can work with PX values ​​or%, but the position on resizing will not be the same < / Li>
  • Setting the left margin as a percentage

CSS in question:

  #confirm {status: fixed! Important; Width: 120px! Important; Correct: 10px! Important; // margin-left: 80%! Important; // - WebKit-Conversion: Translation (600px, 0px); }  

See Bella:

applies to Twitter Bootstrap left: 1%; and right: 1%; by default on the modal box.

First, click on left property on auto . You can then add the correct property to the element.

  #confirm {width: 120px; Status: fixed; Left: auto; / * & Lt; - Reset default left value / / right: 10px; }  

.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -