I pasted the Google Custom Search Engine form inside the navigation bar, but I just can't get its center alignment in Opera. All browsers adhere to vertical alignment (yes! Even IE .. wow!).
You can check it at www.micod.cat (the site is not in English, but you can easily view the search box in the menu bar, correctly). Opera pushes the form input field to the top and incorrectly.
Here is the CSS for this element:
#menu li.find form div {
padding: 0;
margin: 0;
height: 50px;
line-height: 50px;
vertical-align: middle;
}
Any bright minds to offer some insight please? Many thanks!
source
share