绝对div内的ImageButton没有响应

时间:2015-10-01 11:56:16

标签: css asp.net twitter-bootstrap-3 responsive-design imagebutton

我的代码中几乎没有问题,我也不知道为什么......让我们开始吧:

<div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
            <asp:Image ID="Image1" runat="server" CssClass="top img-responsive" ImageUrl="~/images/site/top.jpg" />
            <div class="pl">
                <asp:ImageButton ID="ImageButton1" runat="server" CssClass="img-responsive" PostBackUrl="http://example.com/" ImageUrl="~/images/site/przycisk pl.png" />
            </div>
            <div class="d">
                <asp:ImageButton ID="ImageButton2" runat="server" CssClass="img-responsive" PostBackUrl="http://example.com/de/" ImageUrl="~/images/site/przycisk d.png" />
            </div>
            <div class="uk">
                <asp:ImageButton ID="ImageButton3" runat="server" CssClass="img-responsive" PostBackUrl="http://example.com/" ImageUrl="~/images/site/przycisk uk.png" />
            </div>
</div>

那些ImageButtons应该是响应式的,但是当我扩展网站时,Image会响应并且会出现问题,但ImageButtons始终保持不变。

CSS:

.pl
{
    position: absolute;
    top: 3.125%;
    left: 70%;
    z-index: 4;
    display: inline-block;
}

.d
{
    position: absolute;
    top: 3.125%;
    left: 75%;
    z-index: 4;
}

.uk
{
    position: absolute;
    top: 3.125%;
    left: 80%;
    z-index: 4;
}

任何想法,为什么他们不与图像一起剥夺?

0 个答案:

没有答案