【发布时间】:2012-02-06 12:38:28
【问题描述】:
在下图中,您可以看到我有两个选项卡help 和Instructions,我想将这两个选项卡并排放置在“帮助”选项卡当前所在的位置。当我使用margin-left: 属性时,只有帮助按钮向左移动,instructions 按钮保持在同一个位置。
我用来配置这个的 css:
.v-csslayout-topbarapplicant .v-button,
.v-csslayout-topbarapplicant .v-nativebutton,
.v-csslayout-topbarapplicant-invert .v-button,
.v-csslayout-topbarapplicant-invert .v-nativebutton {
float: right;
display: inline;
margin-right:0px;
margin-left: 268px;
margin-top: -18px;
padding: 0 3px 2px 0;
line-height: 11px;
}
如何更改间距以使两个选项卡(vaadin 组件)一起移动?
【问题讨论】:
标签: components vaadin css