如何在 gwt 中更 retrofit 饰 tabBar 的背景图像或装饰 tabBar 不接受背景图像?这是我做的 css
.gwt-DecoratedTabBar {
width: 910px;
height: 50px;
background: #565F68 url(images/topBar.jpg) no-repeat left top;
margin: 0px auto;
padding: 0px;
}
我想将我所有的图像放在一个名为 assets 的文件夹中,而不是默认的图像文件夹中 我如何在 css 中引用该文件夹
最佳答案
试试这个:
.gwt{
position: absolute;
width: 910px;
height: 50px;
background: url('images/topBar.jpg') no-repeat;
margin: 0 auto;
padding: 0px;
}
我不太确定,您可以在后台指定这么多属性。
此外,您只需要创建一个名为 assets 的文件夹,并将“image/”更改为“assets/”。
关于java - 在 gwt 中更 retrofit 饰标签栏的背景图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6964421/