Team:BUCT-China
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> | <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> | ||
<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> | <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> | ||
- | + | <script> | |
+ | $(document).ready(function(){ | ||
+ | var win_width = $(window).width()/2 - $("#address").width()/2; | ||
+ | $("#address").css("left",win_width); | ||
+ | }); | ||
+ | </script> | ||
</head> | </head> | ||
<body > | <body > |
Revision as of 00:59, 13 October 2014