FineUI 官方论坛
标题:
请教在Panel容器里面的Form控件背景颜色怎么设置
[打印本页]
作者:
Tom_Zhou
时间:
2015-2-11 13:47
标题:
请教在Panel容器里面的Form控件背景颜色怎么设置
我想把Panel容器的表单控件背景色设置成独立的一种颜色,代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WindowTest.aspx.cs" Inherits="Wecan.App.WebSite.WindowTest" %>
<!DOCTYPE html>
<html xmlns="
http://www.w3.org/1999/xhtml
">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="stylesheet" type="text/css" href="styles/ext-all.css" />
<link href="styles/colorFix.css" rel="stylesheet" type="text/css" />
<style>
.mypanel .x-panel-body {
background-color: #d5f1f2;
}
.myform {
background-color: #ff0000;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<f
ageManager ID="
ageManager1" runat="server"></f
ageManager>
<f
anel ID="
anel1" runat="server" BodyPadding="2px" ShowBorder="true" ShowHeader="false" Height="308px" Width="308px" CssClass="mypanel" EnableFrame="true" >
<Items>
<f:SimpleForm ID="SimpleForm1" runat="server" BodyPadding="2px" Title="SimpleForm" CssClass="myform">
<Items>
<f:TextBox ID="TextBox1" runat="server" Label="Label" Text=""></f:TextBox>
</Items>
</f:SimpleForm>
</Items>
</f
anel>
</div>
</form>
</body>
</html>
[attach]7174[/attach]
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4