View Full Version : positioning a form.
fg123
09-04-2009, 08:30 PM
Site: http://www.apps.hostzi.com/
In the navigation bar, I want to include a search bar but as you can see, it is aligned at the bottom. Can anyone help on aligning it to the middle?
davelf
09-05-2009, 06:27 AM
<form style="height:16px;margin-top:-5px; vertical-align:middle;" align="middle" ><input type="text" name="q">
add the margin-top:-5px,
good luck..:)
fg123
09-05-2009, 08:11 PM
Thanks a lot! It works!
fg123
09-05-2009, 08:15 PM
But I encountered another problem: the border's height at the left of the search dosen't fill the whole bar.
fg123
09-05-2009, 10:50 PM
never mind. I figured it out.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.