这是我的代码http://jsfiddle.net/BxQ8n/2/ `
body
{
background:url('http://i42.tinypic.com/2e5pbbc.jpg');
margin: 0;
padding: 0;
color: white;
}
div.container
{
border: 1px solid white;
width: 800px;
margin: auto;
}
div.container img#logo
{
border: 1px solid yellow;
height: 200px;
width: 800px;
}
div.container div.top20
{
border: 1px solid green;
width: 200px;
height: 400px;
}
div.container div.menu
{
border: 1px solid blue;
height: 50px;
width: 796px;
}
div.container div#login
{
border: 1px solid orange;
width: 200px;
height: 150px;
float: right;
clear: right;
}
div.container div#search
{
border: 1px solid purple;
width: 200px;
height: 80px;
float: right;
clear: right;
}
input
{
width: 180px; margin: 0.5em 0 0 0.55em;
}
input.btn
{
margin: 0.5em 0 0 0.4em;
width: 190px;
font-family: Arial, Helvetica, sans-serif;
color: #555555;
font-weight: bold;
}
div.container div#other
{
border: 1px solid cyan;
width: 200px;
height: 570px;
float: right;
clear: right;
}
这是全屏结果http://jsfiddle.net/BxQ8n/2/embedded/result/
我想要的是:
- 创建另一个 div 将在我的两列之间
- 消除标志和菜单之间的空间