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:
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.
精彩评论