• Resolved xinfo

    (@xinfo)


    Hi

    i have search in my side bar . my input text alone too big how to make it small ?

    i opened searchform.php i have follwing code in my searchform.php file i dont have any thing in css related to search

    <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    <div>
    	<input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    </div>
    </form>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Add this to the bottom of your styles.css file:

    #searchform input#s {
    font-size:0.8em;
    }
    Thread Starter xinfo

    (@xinfo)

    thank you very much it work

    well like to know wat is value after 0.9em ?

    do i have to put 10.em

    or 0.10em

    well like to know wat is value after 0.9em ?
    do i have to put 10.em
    or 0.10em

    Values go as follows (from small to big):

    0.8em, 0.9em, 1em, 1.1em, 1.2em, etc. 🙂

    Cheers:)

    Thread Starter xinfo

    (@xinfo)

    wow thank you now it’s working fine in Ie also

    I’m all pleased this helped 🙂

    Cheers! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Need help css for search form’ is closed to new replies.