一个DIV如何遮住背后的编辑框?

xnake 2001-10-31 11:36:40
做菜单时,菜单总遮不住背后的带有输入焦点的控件.如编辑框,下拉列表等.
...全文
50 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
karma 2001-11-01
  • 打赏
  • 举报
回复
here is a section from WebReference
Q:My menus seem unable to cover form elements that exist below them in z-order. The form elements always show through! This behavior is common to all form elements in Navigator, but only the SELECT element in Explorer. I have placed the form in a positioned element and modified the z-index, so that the form elements are placed below the menus, yet the problem persists. Why?

A:The persistence of form element visibility is not affected by the z-order of positioned elements. This behavior is documented by the browser vendors, and will, hopefully, be changed in the fifth generation browsers.

linyi 2001-11-01
  • 打赏
  • 举报
回复
用多个<div>,然后加上事件,把输入框hiden,就可以了:)
lhjcpu 2001-11-01
  • 打赏
  • 举报
回复
用多个<div>,然后加上事件,把输入框hiden,就可以了:)
biggo 2001-10-31
  • 打赏
  • 举报
回复
bug没有办法,你只能将就点使用,ie6也是一样,不要再问其他人了。microsoft就是不改,你也没有办法!

10,606

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧