解决方案 »
- 至强cpu2.0,内存2G,2003的系统iis6,asp.net2.0,这样的系统,可以支持同时多少用户访问网站
- 如何验证cron表达式格式的正确性?
- 控件ID和javascript的疑问
- oledbdatareader 无法将带 [] 的索引应用于“object”类型的表达式
- 用户在线时间(老话重提)
- 返回后,没有重新加载外部的css?
- 急.........在线等.....如何将数据库的值赋给数组
- asp.net里怎么调用发短信的com组件呀?急!!!!!!!!
- 新手请教:如何得到DataSet中某个表中最后一行的ID????谢谢!
- 奇怪问题请求高手解答??????????
- formview中使用findcontrol()找控件
- GridView导出Excel记录超过3000条就出错,是怎么一回事啦?
margin: 20px 0px 0px 0px;
/* n6.01win-mac won't recognize top margin
for middle box, so it goes here */
padding: 0px 0px 0px 0px;
font-family: verdana, arial, helvetica, sans-serif;
color: #060;
background-color: #CCC;
}
#left {
position: absolute;
top: 0px;
left: 0px;
margin: 20px;
padding: 10px;
border: 5px solid #666;
background: #FFF;
width: 150px; /* ie5win fudge begins */
voice-family: "\"}\"";
voice-family:inherit;
width: 120px;
}
html>body #left {
width: 120px; /* ie5win fudge ends */
}
#middle {
margin: 0px 190px 20px 190px; /* n6.01win n6mac
won't recognize top margin for middle box, so it
goes in body */
padding: 10px;
border: 5px solid #666;
background: #FFF;
}
#right {
position: absolute;
top: 0px;
right: 0px; /* Opera5.02 will show a space at right
swhen there is no scroll bar */
margin: 20px;
padding: 10px;
border: 5px solid #666;
background: #FFF;
width: 150px; /* ie5win fudge begins */
voice-family: "\"}\"";
voice-family:inherit;
width: 120px;
}
html>body #right {
width: 120px; /* ie5win fudge ends */
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<style>
#left {
float:left;
width:50%;
height:300px;
background:#eee;
}
#middle {
float:left;
margin-left:-300px;
_margin-right:-3px;
width:600px;
height:300px;
background:black;
}
#right {
height:300px;
background:orange;
}
p {
margin-right:300px;
}
</style>
<div id="left"><p>左边aaaaaa aaaaaa aaaaaa aaaaaa</p></div>
<div id="middle">中间</div>
<div id="right">右边</div>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>三栏等高(wwww.hemin.cn)</title>
<style type="text/css">
.Middle
{ float :left;
width: 300px;
background: #090;
}
.Left
{float :left;
background: #333;
width: 300px;
position: relative;
}
.Right
{float :left;
background: #666;
width: 250px;
margin-right: -100%;
}
#wrapper
{
text-align: left;
width: 960px;
margin: 0 auto;
}
body
{
text-align: center;
}
</style>
</head>
<body>
<div id="wrapper">
<div class="Content">
<div class="Left">
左边
</div>
<div class="Middle">
中间</div>
<div class="Right">
右边
</div>
</div>
</div>
</body>
</html>
加点间隔<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>三栏等高(wwww.hemin.cn)</title>
<style type="text/css">
.Middle
{ float :left;
width: 300px;
background: #090;
margin:1px;
}
.Left
{float :left;
background: #333;
width: 300px;
position: relative;
margin:1px;
}
.Right
{float :left;
background: #666;
width: 250px;
margin-right: -100%;
margin:1px;
}
#wrapper
{
text-align: left;
width: 960px;
margin: 0 auto;
}
body
{
text-align: center;
}
</style>
</head>
<body>
<div id="wrapper">
<div class="Content">
<div class="Left">
左边
</div>
<div class="Middle">
中间</div>
<div class="Right">
右边
</div>
</div>
</div>
</body>
</html>
另外 ,能不能帮忙这个帖子,是迅雷公司面试题,我没有弄懂
内层:float:left/right;padding-bottom:32767px;margin-bottom:-32767px;就需要这个,当然宽度自己定义