易截截图软件、单文件、免安装、纯绿色、仅160KB

求教css高手,下面这个怪异的问题

code 1:
HTML code:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html>
<meta http-equiv="Content-Type" content="text/html;" charset="gb2312"></meta>
<head>
</head>
<style>
#top_outer{
width:100%;
height:20px;
background:#EDF2F6;
}

#page_outer{
width:100%;
height:400px;
background:#EDF2F6;
border:1px solid red;
}

#mainContent{
border:1px solid red;
margin-top:50px;
margin-left:50%;
width:50%;
height:200px;/**/
}
</style>
<body>
<div id="top_outer">
</div>

<div id="page_outer">
<div id="mainContent">
</div>
</div>
</body>
</html>



code2:
HTML code:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html>
<meta http-equiv="Content-Type" content="text/html;" charset="gb2312"></meta>
<head>
<title>登录</title>


相关问答:

ASP.NET skin和css的区别

皮肤和样式表都可以设置控件的外观,具体有什么区别呢?
skin 是asp.net 体系的 就相当于<asp:TextBox> 对应于<input type="text">

你把皮肤当成衣服,把样式表当成化妆品就容易理解了
......

css的位置?

我最近看很多大网站的html源代码,大多都是把css内联式,而不是外联式,这样做的目的是什么?求高手指教!谢谢
节省加载时间

在网速慢的时候,网页不至于变形

性能提高


引用
1、http请求是要开销的,想 ......

HTML可编辑表格。 - Web 开发 / HTML(CSS)

HTML code
<html>
<head>
<title>直接输入的Excel表格 </title>
<style>
<!--
table.formdata{
border:1px solid #5F6F7E;
border-collapse:collaps ......

css容器的问题 - Web 开发 / HTML(CSS)

position:relative不是相对定位吗~~为什么用了边偏移定位后有些人就说是变成了绝对定位了……~~而且它与margin来确定位置有什么不同~~
边偏移定位后有些人就说是变成了绝对定位了
re:
谁说的!真是不象话!positi ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号