Forums

[resolved] Search form positioning in IE7 (4 posts)

  1. zeaks
    Member
    Posted 1 year ago #

    I'm having trouble positioning a search form on my site for IE7, it's dropped down and I can't figure out how to line it up with the menu http://pastebin.com/8LFkL0aQ is my css and code
    http://test.zeaks.org is the site

    Here's what it looks like in IE7 http://img42.imageshack.us/i/headerie.png/

    Thanks for any help.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. zeaks
    Member
    Posted 1 year ago #

    Thanks, I did get it to work eventually. Here's what I did, though just using conditionals like you suggested would probably be better.

    /* nav width */
    #access {width: 735px;}
    /******* searchbar in menu **********/
    #header #search{
    width: 200px;
    height: 30px;
    background-color: #000;
    float: right;
    padding-top:8px;
    padding-right: 5px;
    }

    Moved the search code in header.php above the access div. Changed the #access width, then added a width and height for the search so it would drop down into it.
    I'd need to change #search background color if I want to change #access background color, but it seems to work ok. I'll look into using conditionals, I've never used them before.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I'll look into using conditionals, I've never used them before.

    It will be time really well spent, if you do. They make life so much easier when having to deal with IE's vagaries. Especially pre-IE8.

Topic Closed

This topic has been closed to new replies.

About this Topic