I've been trying to integrate a search form on a standard horizontal menu for the last two days and have been having little success.
I've tried various CSS align commands, repositioned the form include within the menu ULs and without.
Can anyone suggest a new approach for me to try to take?
Menu Item #1 | Menu Item #2 | Menu Item #3 | Search Form (aligned far right preferably)
My Header code:
<backticks>
<div class="header">
<div class="path">
<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" size="19" /> <input type="submit" id="sidebarsubmit" value="Search" style="font-size: 10px;" />
</form>
</div>
</div>
<backticks>
And the relevant CSS:
[backticks]
/* Horizontal Menu Structure */
.path {
vertical-align: bottom;
color: #FFF;
font: normal 1.1em 'Trebuchet MS', Verdana, sans-serif;
padding: 4px 12px;
padding-top: 375px;
padding-bottom: 10px;
padding-right: 10px;
padding-left: 10px;
}
.path li,.path ul {display: inline;}
.path a {
color: #FAFAFA;
text-decoration: none;
margin-right: 25px;
}
.path a:hover {
color: #FFE;
text-decoration: underline;
}
/* Main Content Structure */
.main {
background: url('img/main.gif') repeat-y;
padding: 8px 12px 0px 15px;
}
#searchform {padding: 10px;}
[/backticks]
Any help would *greatly* be appreciated!
Ryvius