html - Adding modal changes layout -


i have made modal following code: modal works fine, problem changes layout of topbar , header position when go page modal placed. on other pages topbar , header still should be. problem?

thanks

<head> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="style.css"> </head>  <body>  <!-- button trigger modal --> <a data-toggle="modal" href="#mymodal" class="btn btn-default btn-xs" >size chart</a>  <!-- modal --> <div class="modal fade" id="mymodal" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" aria-hidden="true"> <div class="modal-dialog">   <div class="modal-content">     <div class="modal-header">       <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>       <h4 class="modal-title">modal title</h4>     </div>     <div class="modal-body">         <img class="img-responsive" src="http://vmatechs.com/wp-content/uploads/2013/07/android.jpg" alt="image" />     </div>     <div class="modal-footer">       <button type="button" class="btn btn-default" data-dismiss="modal">close</button>       <button type="button" class="btn btn-primary">save changes</button>     </div>   </div><!-- /.modal-content --> </div><!-- /.modal-dialog -->  </div><!-- /.modal -->   <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>  <body> 

modal changes


Comments