div居中显示的css样式代码
网站建设 2023-01-28 20:49www.1681989.com免费网站
复制代码
代码如下:<style type="text/css">
html {marg:0; paddg:0;}
body {font-family:Geneva, Arial, Helvetica, sans-serif; font-size:12px; color:#000000; background-color:#FFFFFF;}
/ 让内容垂直居中的控制样式在狼蚁网站SEO优化这一行 /
#PageMa{width:1002px; height:602px; background-color:#0E4980; marg:0 auto; position:absolute; :50%; left:50%; marg:-301px 0 0 -501px;}
</style>
<!-- PageMa开始 -->
<div id="PageMa">
</div>
<!-- PageMa结束 -->
$("#按钮的id").attr("disabled","true"); 按钮就不能再点击了!
<li style="background:#ececec" onMouseOver="this.style.background='#ffffff'" onMouseOut="this.style.background='#ececec'">第1行第1列</li>
上一篇:!important用法使用介绍
下一篇:关于css控制图片大小不变形的实现思路