0
我想为我的Drupal网站创建一个新的主题。我正在使用Drupal 6.20和Zen的最新版本。右侧边栏内容出现 - Drupal Zen Subtheme
我对主题的布局做了不少更改,现在我的右侧边栏出现在主要内容的下面。
你可以在这里(不是动态生成的 - 从一个本地副本保存)看到了问题:http://testcheckchecktest.whackk.com/grab/test1.html
大多数布局CSS的可以在这里找到:http://testcheckchecktest.whackk.com/grab/test1_files/layout-fixed.css
的CSS 威力是问题:
.sidebar-second #content {
width: 800px;
margin-left: 0; /* LTR */
margin-right: -800px; /* LTR */ /* Negative value of #content's width + left margin. */
}
.region-sidebar-second {
float: left; /* LTR */
width: 180px;
margin-left: 800px; /* LTR */ /* Width of content + sidebar-first. */
margin-right: -980px; /* LTR */ /* Negative value of .region-sidebar-second's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}
.region-sidebar-second .section {
margin: 0 0 0 0px; /* LTR */
padding: 0;
}
请让我知道,如果你能弄清楚是什么问题..
他们两个都漂浮在左边 – bcosynot 2011-01-13 17:07:16