Robbert Bruin Robbert Bruin - 6 months ago 14
CSS Question

Centre search field in navigation bar

I just have a question, how can i centre the searchfield (vertical) in the navigationbar (with link to home, zomerhitzz, over and contact?

A preview in the link below
www.zomerhittz.blogspot.nl

Answer

you need to add display:inline-block; vertical-align:middle; to your #search-box and #search-button

Comments