I think the code needs to be moved into the header as you did. You just need to find the right place to put it. I will guess that the nav menu in the header is in a div inside the header div. I helped someone else with a similar issue and suggested they add a new div in side the header but for the search. Then add some css for a new class and make it text-align right. If I’m not being clear, then I’ll have to download that theme and test it on my site.
I have the search code underneath the /ul> of my menu and started a new div tag id for the search.
You can see where it ended up if you click on my site. If I justify it right, the box goes to the right place, but the text “Livesearch” (which i still can’t figure out where to change) just buts up against the list.
I’d guess you need to float the search div to the right. Maybe that’s what you’re tying to do by justifying right, but that’s actually for the div content and not for the div itself.
It also looks like you may not have given the div a width, so that it’s taking up 100% of the width of the container. So try giving it an appropriate width.
Oh yeah, and you have <div id="seachform"> in your code, so either make sure your css has specifications for “seachform” or correct the spelling, otherwise your styling won’t be applied.