Home | Contact Us

CSharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript

How to make Twitter bootstrap modal full screen

You need to set your DIV tags as below.

<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">
   More Details
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-content">
        <div class="container">;
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h3 class="modal-title" id="myModalLabel">Modal Title</h3>
              <div class="modal-body" >
                Your modal text
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>