http://www.keleyi.com/keleyi/phtml/fixedcenter.htm
关键代码是:#topmenu_keleyi_com{position:fixed;left:0px;right:0px;width:706px;margin-left:auto;margin-right:auto;}
附完整代码:
使用position:fixed属性让DIV居中
摘要:先看一下效果:http://www.keleyi.com/keleyi/phtml/fixedcenter.htm关键代码是:#topmen...
网页设计子分类
最新 Div+Css教程学习