开发者

Hover menu inside a tablecell, having z-index issues

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜