Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想<div>在我的页面中有一个居中的width = a % + b像素。
<div>
width = a % + b
有谁知道该怎么做?
你可以给它的 parent div,align="center" 比如:
div
align="center"
<div align="center"> content </div>