CSS:搜索字段结果为半宽

时间:2016-08-19 11:27:32

标签: html css

我遇到了搜索下拉结果的问题。请看这里:https://www.advokatami.bg/?s=firma&is_v=1 - 点击顶部菜单中的放大镜,然后尝试搜索。结果是搜索表单的一半宽度。如何全宽显示?

1 个答案:

答案 0 :(得分:1)

<span class="aa-dropdown-menu tether-element tether-enabled tether-abutted tether-abutted-left tether-element-attached-top tether-element-attached-left tether-target-attached-bottom tether-target-attached-left aa-without-0 aa-without-1 aa-without-3 aa-with-2" style="position: absolute; top: 0px; z-index: 99999; left: 0px; transform: translateX(1061px) translateY(218px) translateZ(0px); width: 280px; display: none;"><div class="aa-dataset-0"></div><div class="aa-dataset-1"></div><div class="aa-dataset-2"></div><div class="aa-dataset-3"></div>
<div class="autocomplete-footer">
    <div class="autocomplete-footer-branding">
                    <a href="#" class="algolia-powered-by-link" title="Algolia">
            <img class="algolia-logo" src="https://www.algolia.com/assets/algolia128x40.png" alt="Algolia">
        </a>
    </div>
</div>

你的跨度宽度= 280px;