将<div><ul><li>中的数据设置为无编号,横向显示并且居中显示在下方的样式,以及在打开新的页面。

!--样式

<style type="text/css">

.div

{

    margin-left:auto;

    margin-right:auto;

    text-align:center;

    clear:both

}

.ul

{

    list-style-type: none

}

.li

{

    display: inline

}

</style>

!--内容

<div>

<ul">

<li>保存</li>

<li>取消</li>

</ul>

!--打开新的页面

 <a class="forgetPwd" href="http://www.cnblogs.com/ForgotPassword.aspx" target="_blank" title="找回密码">忘记密码了?</a>

</div>

!--显示效果

   保存 取消

原文地址:https://www.cnblogs.com/hxwzwiy/p/2412351.html