OurJud
02-21-2011, 01:57 AM
Here is the simple search form code I'm using on my blog, but I'd like to add an image as a button. I can find a suitable image and such, I just need to know how to ammend the code below to include the buttom image. I'd like it positioned on the end of the search field, with about a 2px gap between the two.
Thanks.
<form id="searchthis" action="/search" style="DISPLAY: inline" method="get"><input id="search-box" style="BORDER: 1px solid #ccc; FONT-FAMILY: arial; FONT-SIZE: 11px; MARGIN: 0px 0px 0px 0px; COLOR: #000; text-align: left; padding: 3px; background: #fff; font-style: italic;" value="click here to search..." name="q" autocomplete="off" onclick="this.value="";" size="25" type="text/" /></form>
Thanks.
<form id="searchthis" action="/search" style="DISPLAY: inline" method="get"><input id="search-box" style="BORDER: 1px solid #ccc; FONT-FAMILY: arial; FONT-SIZE: 11px; MARGIN: 0px 0px 0px 0px; COLOR: #000; text-align: left; padding: 3px; background: #fff; font-style: italic;" value="click here to search..." name="q" autocomplete="off" onclick="this.value="";" size="25" type="text/" /></form>