1.写好头部和尾部的页面
2.进入http://tool.chinaz.com/Tools/Html_Js.aspx这个网站,将已写好的公共文件转换为js文件
3.在需要引入得页面中,用script引入需要的公共样式文件。