FF4-CSS zindex问题

| 我在顶层有一个div,但该div下有一些控件,用户需要能够单击这些控件。它在IE和FF3中工作正常,但在ff4中我无法单击控件。我可以使用标签访问它们。
    <html xmlns=\"http://www.w3.org/1999/xhtml\" >
    <head>
        <title>Untitled Page</title>
        <style type=\"text/css\">
            #ShoppingCart
            {
                z-index:5; 
                position:absolute; 
                text-align:right;
                width:100%;
                max-width:1024px;
            }
        </style>
    </head>
    <body>

    <div>
        <div id=\"ShoppingCart\">
        <input id=\"SHoppingCartBut\" type=\"submit\" value=\"Shopping Cart\" />
<br /> Goes HERE<br /> You Have ITEM COUNT HERE
        </div>
        Choose the Item to order:
        <select id=\"Select1\">
            <option>Item 1</option>
            <option>Item 2</option>
        </select><input id=\"Submit1\" type=\"submit\" value=\"submit\" />
    </div>

    </body>
    </html>
已邀请:
AFAIK的“无点击问题”实际上是正确的功能。 为什么不抛弃ѭ1并使用
right:0px
?对我来说很好 http://jsfiddle.net/tRNJD/
通过绝对定位,该元件将从正常流中移开,从而允许其他元件上升并覆盖按钮。那是问题,但是可以通过多种方式处理,但我根本不了解使用AP或z-index的目的。
在ShoppingCart div上设置
pointer-events:none
以允许点击消失。

要回复问题请先登录注册