http://www.w3cschool.cc/bootstrap/bootstrap-tutorial.html
http://v3.bootcss.com/components/?#media
这两个网站就够学BootStrap了
在这里我只说一下这个div居中浏览器的css
#main_layout { position: absolute; top: 50%; left: 50%; margin: -130px 0 0 -165px; width: 330px; height: 260px;}
距离上左各50%,然后让左边距和上边距分别为宽度和高度的负一半就ok了