Jump to content

[SOLVED] Centering the Search block


Recommended Posts

I fixed it.

You have to change the final "em" value in the code below. You need to tweak it to suit your needs:

#header #search_block_top p { padding: 0.4em 0 0.4em 8em; }




Changing the alignment below to "center" doesn't fix it, only the above:

#header #search_block_top label, #header #search_block_top input{ float:left; }



to

#header #search_block_top label, #header #search_block_top input{ float:center; }

Link to comment
Share on other sites

  • 2 weeks later...

I'd like to move the search block to the left hand side. I tried playing with the "em" values but that either didn't do anything at all or it caused the search box to 'disintegrate'! Any idea how to do this? I'm keeping the other links in the middle (sitemap, contact, etc.) but I've moved everything below the main banner.
Cheers,
Andy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...