WordPress.org

Ready to get started?Download WordPress

Forums

Searchform Help (10 posts)

  1. bk
    Member
    Posted 8 years ago #

    http://xeenat.com

    First off, I can't position it for some reason. :(
    Secondly, I am getting 2 errors regarding searchform.php. How to fix them?

    Thank you..

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

    Looking at the source, the search code is inside <div>

    If you made that <div id="search">
    then you could use css
    #search {}
    to control position.

  3. XeroCool
    Member
    Posted 8 years ago #

    Cant find no errors unless you fixed them :\.

  4. bk
    Member
    Posted 8 years ago #

    podz: I've got this #searchform {} in my CSS. When I try to control the position, nothing happens. :S

    XeroCool: My bad. I meant it is not validating. If you validate my page, 2 of the errors are in the searchform.php.

  5. XeroCool
    Member
    Posted 8 years ago #

    BK, trying add id="searchform" to the code and see if that will help. If that doesnt work, try adding <div id="searchform"></div>.

    About the validating, I always had those problems and never figured out on how to fix them.

  6. bk
    Member
    Posted 8 years ago #

    XeroCool and podz: It worked when I added margin-left: to
    #sidebar form {}
    .

    Looks perfect in Firefox and IE. Could you guys please help me validate the archive page? Can you please check the thread here.

    Thank you very much once again.

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

    /* Begin Form Elements */
    form#searchform {
    margin: 10px;
    background-color:#ff0000;
    border:1px dotted #000;
    padding: 10px 0px;
    text-align: center;
    }
    #sidebar #searchsubmit {
    padding: 1px;
    }

    and further down the css you have a form tag on it's own setting margin:0;
    Delete it.

  8. bk
    Member
    Posted 8 years ago #

    I'll try that....

  9. bk
    Member
    Posted 8 years ago #

    Ok, I think it looks good now. You check if you want to.
    Thank you, sir.

  10. bk
    Member
    Posted 8 years ago #

    podz: Could you please look into my other thread as well? Please. :o

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.