div可以竖过来吗? 想把网页用div竖过来分成三分,就像freamset rows=""这样,可以实现吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style> * { margin:0px; padding:0px; } html, body { width: 100%; } .d1 { float:left; display: block; width: 10%; height: 100% } .d2 { float:left; display: block; width: 80%; height: 100%; background-color: #3A5F94; text-align: center; color: white; } .d3{ float:right; display: block; width: 10%; height: 100%; } </style> </head> <body> <div class="d1"></div> <div class="d2"></div> <div class="d3"></div> </body></html> 是我火星了,inline解决了,抱歉 这段js 错在哪里? ext 中grid读取与jsp中转换后的json数据 iframe调用父页面函数,父页面怎么知道是哪一个iframe调的? 请教限制输入问题 window.open()问题? 如何在提交之前提示一个对话框,点击后提交,不点则不提交? 菜单问题,数位红使用的菜单. javascript 写的函数中怎样写跳传到另一个页面的语句? 求助:js某个输入框中回车提交事件,用户在页面输入后按回车进行搜索查询 多个页面时如何跳转到指定ID页面 firefox下怎么loadXML div 上下总是空了一段,好像是滚动条在起作用,怎么让他撑满工作区域?
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style>
* {
margin:0px;
padding:0px;
}
html, body {
width: 100%;
}
.d1 {
float:left;
display: block;
width: 10%;
height: 100%
}
.d2 {
float:left;
display: block;
width: 80%;
height: 100%;
background-color: #3A5F94;
text-align: center;
color: white;
}
.d3{
float:right;
display: block;
width: 10%;
height: 100%;
}
</style>
</head>
<body>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
</body>
</html>