2013-04-04 36 views

回答

1

它看起来像IE10不居中.sidebar-area容器。该容器左侧齐平,因此其右侧边(侧边栏)落在页面中间。有可能是一个更好的选择,但最明显的解决将是左右边栏容器中的另外的包装:

.sidebar-area { 
    position: fixed; 
    left: 0; 
    right: 0; 
    text-align: center; // this may not be needed. 

    .sidebar-container { 
    @include container; 
    text-align: left; 
    } 
} 

,将成立一个外固定面积在整个屏幕宽度,并且可以居中你的容器在这种情况下。让我知道如果你找到更好的解决方案!

+0

工作,谢谢一堆! – 2013-04-05 07:35:42