在IE8下DIV margin:0 auto不居中的解决办法

RT,用<center>标签完美解决

1
2
3
4
5
6
7
8
9
 <center>
      <div style="margin:0 auto;">
        <p>[ 我为痴狂 ]</br>
        </p>
        <p><a href="http://creater.beitown.com/?cat=3" >Creater 创世记</a></p>
        <p><a href="http://coder.beitown.com" >Coder 编码之源</a></p>
        <p style="text-align:right">—— BeiTown-北呈-2014-星夜河殿下</p>
      </div>
 </center>

BeiTown
2014-06-05

本文链接:在IE8下DIV margin:0 auto不居中的解决办法

转载声明:BeiTown原创,转载请注明来源:BeiTown's Coder 编码之源,谢谢


Tags: , ,

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>