JSFiddle - React, Tailwind, and code Playground
by QMaster
HTML
<header id="header">
<div class="content-wrapper">
<div class="float-right">
<div class="aSimple" style="display: inline; margin-right: 48px;">
<a class="aSimple" id="btn_UserManagement">[email protected]</a>
</div>
<div style="display: inline;">
<img id="img_tab" src="http://viraapp.com/Images/Icons/Sign/UserOffline1.png" alt="Sign Status" class="HeaderImgRight">
</div>
</div>
<div class="float-left">
<div style="display: inline;">
<a class="NSLink" href="/ViraBase/"><img alt="Logo" class="HeaderImgLeft" src="http://viraapp.com/Images/OwnerLogo8.png"></a>
</div>
<a class="aSimple" href="/ViraBase/" style="margin-left: 48px;">انتشارات نمونه</a>
</div>
<div class="float-center">
<input class="SearchBox" id="tb_Search" name="tb_Search" placeholder="جستجو" value="" type="text">
</div>
</div>
</header>
CSS
#header {
height: 48px;
background-color: #365D98;
color: #F3F3F4;
width: 100%;
min-width: 720px;
padding: 0px;
margin: 0px;
z-index: 999;
clear: both;
display: block;
text-align: center;
top: 0px;
position: fixed;
}
#header2{
display : flex;
display: -webkit-box;
display: -webkit-flex;
flex-direction: row;
-webkit-box-direction: row;
-webkit-flex-direction: row;
-webkit-flex-direction: row;
justify-content: center;
}
html, body {
direction: rtl;
font-family: 'Times New Roman';
}
header .content-wrapper {
display: inline;
vertical-align: middle;
line-height: normal;
}
header .float-right {
float: left;
min-width: 240px;
margin-left: auto;
margin-right: 0px;
height: 100%;
line-height: 50px;
vertical-align: middle;
text-align: left;
}
.aSimple {
color: #F3F3F4;
background-color: transparent;
outline: medium none;
text-decoration: none;
cursor: pointer;
vertical-align: top;
font-size: 18px;
font-weight: normal;
}
header .float-left {
float: right;
min-width: 240px;
margin: auto auto auto 0px;
height: 100%;
line-height: 50px;
vertical-align: middle;
text-align: right;
}
header .float-center {
text-align: center;
margin-left: auto;
margin-right: auto;
min-width: 240px;
height: 100%;
line-height: 50px;
vertical-align: middle;
}
.SearchBox {
border: 0px solid #1C2D49;
height: 24px;
margin-top: 8px;
background-color: #2B4A7A;
color: #F3F3F4;
width: 25%;
min-width: 10%;
}