开发者

Hover menu inside a tablecell, having z-index issues

开发者 https://www.devze.com 2023-02-10 10:18 出处:网络
Have a hover menu inside a table cell (td) and have the td set to position:relative, the menu set to position:absolute, and as you see the menu renders behind the border开发者_Go百科 and text below:

Have a hover menu inside a table cell (td) and have the td set to position:relative, the menu set to position:absolute, and as you see the menu renders behind the border开发者_Go百科 and text below:

Hover menu inside a tablecell, having z-index issues


This seems like a z-index issue, set your table to a z-index:0; in CSS and the menu to z-index:999;

See: http://tjkdesign.com/articles/z-index/teach_yourself_how_elements_stack.asp for further info.

0

精彩评论

暂无评论...
验证码 换一张
取 消