+ Reply to Thread
Results 1 to 1 of 1

Thread: Need help w/ search form

  1. #1
    Mahele is offline x10Hosting Member Mahele is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    7

    Question Need help w/ search form

    I am customizing a WP theme to fit my needs and I can't seem to get the search form to fit where I need it.

    see it in action here ---> www.keonistudios.co.cc

    Note: If you click in the search box you'll find the form itself is actually off to the lower right a bit...

    Below is my CSS and searchform.php... it may be something simple I am overlooking but any help would be greatly appreciated...

    My CSS...
    Code:
    #searchform {
        float:right;
        width:210px;
        background:url(images/bg_search.png) no-repeat;
        padding:0 0 5px 5px;
        margin-top:-5px;
        }
    
    #s {
        background:transparent;
        border:none;
        color:#006600;
        padding-left:10px;
        margin-top:-4px;
        width:120px;
        }
            
    .field {
        background:transparent;
        border:none;
        padding:0px;
        border:none;
        }
    
    .field:focus {
        background:transparent;
        }
        
    #submit {    
        background: #010a2a ! important;
        border:none;
        font-size:0.9em;
        padding:0;
        }
    
    #submit:hover {    
        background: #12225b ! important;
        }
        
    #searchsubmit {
        background:transparent;
        border:none;
        margin: 0 0 0 0;
        color:#b5dbf3;
        font-size:0.9em;
        }
    My searchform.php...
    PHP Code:
    <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    <input type="image" src="<?php bloginfo('template_url'); ?>/images/search_btn.png" id="searchsubmit" value="Search" />
    </form>
    Last edited by Mahele; 05-06-2008 at 09:51 PM. Reason: Added note about search form...

+ Reply to Thread

Similar Threads

  1. Html Form Search button
    By Otaku Ichise in forum Programming Help
    Replies: 1
    Last Post: 04-21-2008, 09:51 AM
  2. CGI search form - Searching multiple tables via dropdown
    By dwd2000 in forum Programming Help
    Replies: 0
    Last Post: 02-19-2008, 01:56 PM
  3. How does one build a search engine?
    By goodone in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 10-13-2007, 07:59 AM
  4. A simple Visual Basic Login Form
    By Zenax in forum Tutorials
    Replies: 0
    Last Post: 03-13-2007, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers