mat
01-28-2003, 10:43 PM
I want to have this horizontal navigation bar at the top of my page with left side for a search and the right side for a menu.
For this i need to have 2 forms and 2 <div>'s
# Code
.topL{
padding: 4px;
float: left;
}
.topR{
padding: 4px;
text-align: right;
}
<form>
<div class="topL">
..search
</div>
</form>
<form
<div class="topR">
...menu
</div>
</form>
So when this bar should ideally display like -- it instead displayed like -_ because the form causes a break.
Is there any simple fix for this ?
For this i need to have 2 forms and 2 <div>'s
# Code
.topL{
padding: 4px;
float: left;
}
.topR{
padding: 4px;
text-align: right;
}
<form>
<div class="topL">
..search
</div>
</form>
<form
<div class="topR">
...menu
</div>
</form>
So when this bar should ideally display like -- it instead displayed like -_ because the form causes a break.
Is there any simple fix for this ?