没好的办法,z-index对SELECT不适用,因为SELECT是以ACTIVEX控件的方式实现的,建议,显示菜单时,把SELECT藏起来

解决方案 »

  1.   

    我的SELECT里显示的是本页面里最重要的信息,藏起来不大可能,还有别的办法吗?
      

  2.   

    重新把你的webpage布局一下不就ok了??
      

  3.   

    SELECT是以ACTIVEX控件的方式实现的?具体讲讲好吗?
      

  4.   

    According to MSDN:
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/SELECT.aspThe SELECT element is available in HTML and script, as of Internet Explorer 3.0.
    This element is a windowed control and does not support the z-index attribute or zIndex property.关于隐藏SELECT的建议,在此得到印证:
    http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/zIndex.asp?frame=trueIf you maintain Web pages that were designed for earlier versions of Internet Explorer that do not support the zIndex property, you might want to redesign the pages, especially if the pages contain iframe objects that are stacked on top of windowed controls, such as select objects. You can use the visibility attribute to hide windowed controls that you want an iframe object to overlap. You can also position windowed controls so that iframe objects do not overlap them.
      

  5.   

    对不起,是我记错了,SELECT是WINDOWED控件而不是ACTIVEX控件