使用css将侧边栏移动到页面的左侧

时间:2014-10-29 19:36:08

标签: css

如何移动侧边栏,使其位于屏幕左侧,就像希伯来网站中的其他页面一样? 仅在此页面上,它在右侧显示不正确: http://goldenhersh.co.il/he/product/%D7%9E%D7%98%D7%9C%D7%99%D7%95%D7%AA-%D7%A7%D7%9C%D7%99%D7%A8-%D7%A1%D7%A7%D7%99%D7%9F-%D7%A9%D7%9C%D7%91-%D7%A8%D7%90%D7%A9%D7%95%D7%9F-%D7%95%D7%A9%D7%A0%D7%99/

1 个答案:

答案 0 :(得分:2)

如果你改变了

#container {
    float: left !important; //float left is wrong here
    width: 76% !important;

 #container {
    float: right !important; //use float right instead
    width: 76% !important;

结果如下所示 enter image description here

我建议您使用Firebug或Chrome开发者工具检查<div id="container">...</div>,以便查看应用的样式。

相关问题