1: <div id="login" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
2: <div class="modal-header">
3: <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×button>
4: <h3 id="myModalLabel">登陆h3>
5: div>
6: <div class="modal-body">
7: <form class="form-horizontal">
8: <div class="control-group">
9: <label class="control-label" for="inputEmail">用户名:label>
10: <div class="controls">
11: <input type="text" id="inputEmail" placeholder="Email">
12: div>
13: div>
14: <div class="control-group">
15: <label class="control-label" for="inputPassword">密码:label>
16: <div class="controls">
17: <input type="password" id="inputPassword" placeholder="Password">
18: div>
19: div>
20: <div class="control-group">
21: <div class="controls">
22: <label class="checkbox">
23: <input type="checkbox"> Remember me
24: label>
25: div>
26: div>
27: <div style="margin-left:60px;">
28: <label class="control-label" >
29: <a href="#">忘记密码a>
30: label>
31: <label class="control-label">
32: <a href="#" data-target="#register" role="button" data-toggle="modal" id="aregis">立即注册a>
33: label>
34: div>
35: form>
36: div>
37: <div class="modal-footer">
38: <button class="btn" data-dismiss="modal" aria-hidden="true">取消button>
39: <button class="btn btn-primary" id="qdl">确定button>
40: div>
41: div>
------分隔线----------------------------
------分隔线----------------------------