居中问题 将网站中所有的内容居中,意思就是说,无论用户的屏幕是什么样子的,所显示的内容是在屏幕中间的。显示出来的 样子 就是和 新浪的那个是一样的。并且网页中的内容的相对位置不能改变。非常感谢 !~~ c# 的 和 Vb 的 麻烦都讲一下是怎么实现的 谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个直接在body用个div 设置属性style="margin:0 auto; width:1002px" 就OK了 <body> <center>其他内容</center></body> 以下肯定没问题!! <div style=" width: 500px; position: static; top: 100px;margin:0 auto; height: 212px; background-color: #ffccff" > </div> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>Untitled Page</title> <style type="text/css"> * { margin:0px auto; text-align:center; } .Demo { height:800px; width:900px; border-style:solid; border-width: 1px; border-color:#D9D4D1; } </style></head><body> <div class="Demo"> </div></body></html> C#多线程问题,请帮忙回答 谁能给MonthCalendar控件设置指定日期背景色的入 tcp传输问题 visio颜色设置问题。。 如何用正则表达式匹配 s = ":信息;:信息管理;:信息检索;:knowledge management;:"中的中英文词语 问一个行业情况?工作问题 about socket:客户端传给服务器端,服务器端怎么回执信息给客户端? listview 怎样设置表格的高度??? 如何重绘combobox让他的边框便黑 关于.resx? C#如何连接SQL SERVER数据库 请教个问题
<body>
<center>其他内容</center>
</body>
<div style=" width: 500px; position: static; top: 100px;margin:0 auto; height: 212px; background-color: #ffccff" >
</div>