Closed Seasons123 closed 5 years ago
有时候在Div中加上
<div style="text-align:center"> <table border="1" cellpadding="3" cellspacing="0" style="width: 60%;margin:auto"> <tr><td></td></tr> <tr> </table> </div>
分类: DIV+CSS
有时候在Div中加上
里面的Table是不会居中的我们可以在Table中加上 margin:auto比如:分类: DIV+CSS