JSFiddle - React, Tailwind, and code Playground
HTML
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<!-- http://artgorbunov.ru/bb/soviet/20121213/ and http://habrahabr.ru/post/162841/ -->
<body>
<div id="nav_top">
<div style="float: left;">Fixed Title Главная Меню Форум Темы ТОП-пользователей Fixed Title Главная Меню Форум Темы ТОП-пользователей</div>
<div style="float: right;">Fixed Title Войти Выход Сообщения Мои темы Профиль Закладки Поиск Ещё Fixed Title Войти Выход Сообщения Мои темы Профиль Закладки Поиск Ещё</div>
<div id="nav_top_2">
<div style="
margin: 0;
/* нужно центрировать эти элементы: */
">
<form id="quick-search" action="" method="post" onsubmit="
$(this).attr('action', $('#search-action').val());
var txt=$('#search-text').val(); return !(txt=='Введите текст для поиска' || !txt);
">
<input type="hidden" name="max" value="1">
<input type="hidden" name="to" value="1">
<input id="search-text" style="position: relative; width: 60%; background-image: url(http://dl.dropbox.com/u/140879/test/img/search.png); background-color: rgb(255, 255, 255); padding-left: 17px; background-position: 1px -1px; background-repeat: no-repeat no-repeat;" type="text" name="nm" x-webkit-speech="x-webkit-speech" value="Введите текст для поиска" onfocus="this.style.backgroundColor='#F0F0F0';this.value='';" onblur="this.style.backgroundColor='#FFFFFF';if (this.value != '') {this.onfocus = function(){this.style.backgroundColor='#F0F0F0';};} else this.value='Введите текст для поиска';">
<select id="search-action" style="font-family: Tahoma, sans-serif; line-height: 1em;">
<option value="poisk.php"> по сообщениям </option>
<option value="search.php#results"> по форуму </option>
<option value="yandex.php"> в яндекс </option>
<option value="google.php"> в google </option>
</select>
<input type="submit" value="Найти" style="line-height: 1.2em;">
</form>
</div>
</div>
</div>
<div...
CSS
body {
margin: 0px;
}
#nav_top {
position: fixed;
left: 0;
top: 0;
width: 100%;
/* height: 25px; фиксируем высоту topbar'а для простоты */
background: #eee;
z-index: 100;
}
#nav_top_2 {
position: fixed;
background: #eee;
border: 1px solid lightgrey;
border-top-width: 0px;
margin: 30px 25% 0 25%;
width: 50%;
z-index: 1000;
}
#content {
padding-top: 100px; /* отбиваем высоту баров, чтобы не перекрывать контент вверху страницы */
}