组合框箭头在Chrome和IE中看起来不错,但在FF中不太好。 这里是我的简单的XPage:如何更改xPage组合框下拉箭头的背景颜色?
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:comboBox id="inputComboBoxSearch" defaultValue="0" value="0"
style="height:60px; width:120px; text-align:right; box-shadow:none; border-radius:0; display:inline;">
<xp:selectItem itemLabel="Search by" itemValue="0"></xp:selectItem>
<xp:selectItem itemLabel="User" itemValue="1"></xp:selectItem>
<xp:selectItem itemLabel="Date" itemValue="2"></xp:selectItem>
<xp:selectItem itemLabel="City" itemValue="3"></xp:selectItem>
</xp:comboBox>
</xp:view>
And here is how it look like in different browsers. How to change FF style so it is same as on Chrome?
仍然无法正常工作。下拉在FF中看起来很奇怪..任何在应用程序属性我需要调整? –
@John,如果从样式中删除'border-radius:0;',它可以用于Firefox 45.7.0和主题“Bootstrap3”。你不需要设置'createForm =“false”'。只需添加'disableTheme =“true”'就足够了。所以,@西蒙,你的解决方案是为约翰的情况下更好的:) –
西蒙的例子不起作用。你在应用程序中启用了Bootstrap3主题吗? –