有没有其他方法可以使用而不是位置:绝对?

时间:2014-03-21 18:37:42

标签: jquery html css web jscript

我有一个搜索框div,文本输入标签和清晰图像按钮跨度。我想知道什么是搅拌位置:绝对会导致IE8?

<div class="search-box-div">
    <form onsubmit="return false" name="contentForm">
        <input id="fu-o2ContentCtrl3022348316" class="search-box" type="text"     title="Search Provider">
        <span id="3022348316-clear-sugg-text" class="fu-o2-clear-sugg-text" style="visibility: visible;"></span>
    </form>
</div>

这些课程的css是:

.fu-o2-search {
    display: inline-block;
    padding-top: 1.5%;
    width: 65%;
}

.fu-o2-search .search-box-div {
    border: medium none;
    padding: 0;
}

.fu-o2-search .search-box {
    background: url("../images/6428_16.png") no-repeat scroll 0 3px #FFFFFF;
    border: 1px solid #A0A0A0;
    font-family: arial;
    font-size: 12px;
    padding-bottom: 2px;
    padding-top: 2px;
    width: 94%;
}

.fu-o2-clear-sugg-text {
    background: url("../images/6457_up_16.png") no-repeat scroll 0 1px #FFFFFF;
    cursor: pointer;
    display: inline-block;
    float: right;
    height: 17px;
    margin-left: -1.7%;
    position: fixed;
    visibility: hidden;
    width: 16px;
}

0 个答案:

没有答案