如何让一个绝对定位的元素在另一个元素的中心下方居中显示?
使用示例:当单击时打开/显示一个新的(绝对定位的)元素的日期选择器。
. <-- Center
[ . ] <-- Not absolutely positioned element, a button. Always displayed
[ . ] <-- Absolutely positioned element. Visibility toggled by button
编辑:为了让问题更清晰明确,我需要一种简单的方法来使元素的中心对齐。