
我有一个位置的按钮:绝对显示在最新Chrome和firefox的两个部分之间完美居中.但是,在Internet Explorer 11中,按钮移动到页面的左侧,仅显示一半,这会破坏布局.
你可以找到一个JS Bin here.
CSS /减:
.button { z-index: 150; position: absolute; margin: 110px 0 0 -125px; height: 54px; wIDth: 250px; letter-spacing: 3px; text-transform: uppercase;}为了简单地隐藏Internet Explorer中的按钮,我使用了以下条件注释:
Copyright © 2022 内存溢出 版权所有
蜀ICP备2023005044号
Powered by
outofmemory.cn