WordPress.org

Ready to get started?Download WordPress

Forums

Search Submit Button (IMG) (6 posts)

  1. JackCardus
    Member
    Posted 8 years ago #

    Hey all, I've been looking round, and I cant see any topics on the subject, so here goes:

    How do you change the "Submit" button by the search textbox into an image? there is a normal way to do it, and I've used it before in other websites. But when I try the same method with the "Searchform.php" File it dosen't work.

    This is the line of code I tried, and I'm testing within Localhost.

    <input type="image" src="images/submit_button.gif" height="20" width="41" border="0" alt="Submit Form" id="searchsubmit" value="Search">

    Here is the default code, before I changed it:

    <input type="submit" id="searchsubmit" value="Search" />

    Any help would be greatly apprichiated, Thanks!

  2. w3central
    Member
    Posted 8 years ago #

    The way you do it should display an image, but check that you have the correct template file (eg add a word where you change it and see if that word appears also).

    Btw, your site seems to be a copyright violation.

  3. JackCardus
    Member
    Posted 8 years ago #

    Thanks, how is my website a violation? What website?

  4. It isn't. You're just showing your Flickr page in a frame, which some people might mistake for you copying Flickr's design and content and presenting it as your own....

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

    css and a button
    http://www.tamba2.org.uk/wordpress/graphicalcss/comments/

    (right at the bottom)

  6. w3central
    Member
    Posted 8 years ago #

    Sorry, didn't see it was a frame. Just saw the search/submit button and assumed it was yours. Just be carefull with these things.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.