Totally Zenned
- Join Date:
- Mar 2009
- Location:
- Australia
- Posts:
- 604
- Plugin Contributions:
- 0
Center the search field and button infront of image
Hi there,
I'm trying to centre the top search entry field and button to an background image I have which is roughly 10 px bigger.
This is what I have tried but it is not centering.
#navMainSearch {
float: right;
background-color: #a68236;
background-image: url(../images/search_top.png);
background-repeat: no-repeat;
background-position: 50% 50%;
height:51px;
width: 264px;
padding: 0;
margin: 0;
}
That wasn't the plan!