Hey everyone, I am looking to add a button to the end of my search box that is located above my header image. I have tried a few different methods and so far can't get the image to show up. Here is my website
Thanks for all the help so far as I really appreciate it!
First, trim the empty areas from the button -- the button itself is 57x24 but the searchbutton.png image as a whole is 74x39. Too much on the outsides.
Second, now that you have an image as a submit button, you can remove the regular input button code, so remove <input type="submit" value="" class="button queryButton">.
That should get you on your way.
(That is, if you really must use a table for this.)
@Senff@farzadina that worked great! thanks. I will also trim the area on the button to fix it up. Just one last little thing to fix up. When you view the site on an iphone it shows this small bubble in between the text field and button. Any idea how to get rid of that.
I am looking to add a button to the end of my search box that is located above my header image. I have tried a few different methods and so far can't get the image to show up.
Here is my website
Thanks for all the help so far as I really appreciate it!
Add the following html code, right after your input field.
HTML:
CSS:
http://petrowest.squarespace.com/
top: 0px;totop: 6px;in the.section .input. Then add this rule to your stylesheet to bring them up:Second, now that you have an image as a submit button, you can remove the regular input button code, so remove
<input type="submit" value="" class="button queryButton">.That should get you on your way.
(That is, if you really must use a table for this.)
Just one last little thing to fix up. When you view the site on an iphone it shows this small bubble in between the text field and button. Any idea how to get rid of that.