FineUI 官方论坛
标题:
form的FormRow中按钮背景色的问题
[打印本页]
作者:
maocanmao
时间:
2014-5-9 17:37
标题:
form的FormRow中按钮背景色的问题
本帖最后由 maocanmao 于 2014-5-9 17:39 编辑
[attach]5232[/attach]
window中是一个form, 如何去掉按钮底下的白色呢
<style>
.mypanel {
text-align: center;
padding-top: 10px;
margin-top: 10px;
border-top: solid 1px #ccc;
}
.mypanel .mybutton {
display: inline-block;
*display: inline;
margin-right: 30px;
}
</style>
<f:Window ID="Window_add" Width="650px" Height="300px" Title=" Add" Hidden="true"
EnableMaximize="true" EnableCollapse="true" runat="server" EnableResize="true"
IsModal="false" CloseAction="HidePostBack" OnClose="Window2_Close" Layout="Fit"
WindowPosition="GoldenSection" >
<Items>
<f:Form Width="600px" LabelWidth="100px" BodyPadding="5px" EnableFrame="true" EnableCollapse="true"
ID="Form_add" runat="server" ShowHeader="false" ShowBorder="true" >
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="IPName" Label="IPName" Required="true" runat="server" ShowRedStar="True" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="Revision" Label="Revision" Required="true" runat="server" ShowRedStar="True" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="Chiplet" Label="Chiplet" Required="true" runat="server" ShowRedStar="True">
<f:ListItem Text="Chiplet1" Value="0"></f:ListItem>
<f:ListItem Text="Chiplet2" Value="1"></f:ListItem>
<f:ListItem Text="Chiplet3" Value="2"></f:ListItem>
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="Description" runat="server" Label="Description" ShowRedStar="True"
Required="True">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Panel ID="Panel1" runat="server" ShowBorder="false"
CssClass="mypanel" ShowHeader="false">
<Items>
<f:Button ID="add" Text="Add" Icon="Add" runat="server" CssClass="mybutton" ValidateForms="Form_add"
Size="Large">
</f:Button>
<f:Button ID="Reset" EnablePostBack="false" Text="reset" Icon="Reload" CssClass="mybutton" Size="Large"
runat="server">
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Window>
复制代码
作者:
幻之达
时间:
2014-5-9 17:52
给form加上背景属性试下
作者:
maocanmao
时间:
2014-5-9 18:10
幻之达 发表于 2014-5-9 17:52
给form加上背景属性试下
form的背景色如何设置?没看到background的相关属性啊
作者:
maocanmao
时间:
2014-5-12 16:05
求救~~~~~~~~~
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4