gpt4 book ai didi

css - FF4 - CSS z 索引问题

转载 作者:太空宇宙 更新时间:2023-11-04 05:23:54 25 4
gpt4 key购买 nike

我在顶层有一个 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>

最佳答案

据我所知,“无点击问题”实际上是正确的功能。

为什么不放弃 witdh: 100% 并使用 right:0px?这对我来说很好......

http://jsfiddle.net/tRNJD/

关于css - FF4 - CSS z 索引问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5717187/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com