HTML:<header class="header">
<div class="header-form">
<div class="form">float:right</div>
</div>
<div class="header-logo">
<div class="logo">float:left</div>
</div>
<div class="header-search">
<div class="search">float:left</div>
</div>
</header>
CSS:.header {
background-color: red;
width: 100%;
height: 400px;
}
.header-form {
float: right;
width: 20%;
}
.header-logo {
float: left;
width: 30%;
}
.header-search {
float: left;
width: 50%;
}
.logo {
height: 50px;
background-color: blue;
}
.search {
background-color: green;
height: 50px;
}
.form {
background-color: orange;
height: 50px;
}