How can I get this submit button to display inline?

Attached is screenshot of a submit button that I can't get to display inline. Here's my html:

Below is an online version of the org chart..<ul><li>executive assistants are listed immediately below their manager and are represented using a grey background</li><li>all managers are listed against a colored background their matches the background color of the Director they report to</li><li>all employees are color coded to match the background color of their Executive Director</li></ul>Click on the name to email them and if you have any questions, please contact someone on the South Area Network IT Team.Thanks!<br><br><hr>

<!-- here --> 

<div style="text-align:right;"><form action="org_chart_search.php" method="Post" style="display:inline;"><input type="text" value="search for a team member" size="35" onfocus="if(this.value == \'search for a team member\') {this.value=\'\'}" onblur="if(this.value ====\' \'){this.value=\'search for a team member...\'}" name="name"><input type="image" src="images/submit_button.jpg"></form></div><hr><br>';

Open in new window

I've tried several combinations, but I've yet to figure out how to get things to line up correctly. What am I missing?
Bruce GustPHP DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris StanyonWebDevCommented:
They'll line up by default which tells me there's something else going on in your CSS that's throwing it out from the default - post a link to the page and we'll let you know.
Bruce GustPHP DeveloperAuthor Commented:
Hey Chris!

Check it out at

Thanks for taking a look at it!
Chris StanyonWebDevCommented:
Thanks bruce.

Add this style to your textbox:


That will get them to line up fine.

If you want to get things a little 'tighter' then you'll need to edit your button image. There's quite a bit of white space around it and that makes the button 39px deep. The textbox is only 22px deep.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.