Never mind - worked it out myself
Just needed a left/right div. Heres the code if anyones having the same kinda issue:
Code:
fieldset.search {
border: none;
float: right;
width: 256px;
margin: 0 auto;
background: #FFFFFF;
padding: 40px 30px 1px 3px;
}
.search input, .search button {
border: none;
float: left;
}
.search input.box {
border: none;
color: #6A6A6A;
font-size: 1.2em;
width: 160px;
height: 15px;
padding: 0 0 0 0;
padding-left: 8px;
padding-bottom: 3px;
background: none;
margin-top: 9px;
margin-right: 6px;
}
#wrapper_search_left {
width: 200px;
height: 30px;
float: left;
background: #FFFFFF url(images/search_04.png) no-repeat right bottom;
}
#wrapper_search_right {
width: 52px;
height: 42px;
float: left;
background: #FFFFFF;
}
Code:
<form method="get" id="searchform" action="">
<fieldset class="search">
<div id="wrapper_search_left">
<input type="text" class="box"/>
</div>
<div id="wrapper_search_right">
<button class="btn" title="Submit Search"></button>
</div>
<div style=" clear: both"></div>
</fieldset>
</form>
Cheers
Andy
Bookmarks