3

I am trying to set a background color for a fieldset in Telerik with the below code.

Can someone point me in right direction, or have any other ideas?

.RadForm_Office2007.rfdFieldset fieldset
  { 
  border: solid 1px #080808;
   background-color:yellow !important;

    }

 <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" 
  DecoratedControls="Fieldset"  Skin="Office2007"/>

 <fieldset style="float: left; width: 280px;">
<legend>Grid
</legend>     
<telerik:RadTextBox runat="server"></telerik:RadTextBox>

</fieldset>
ag93
  • 343
  • 4
  • 17
user1046415
  • 779
  • 4
  • 23
  • 43

2 Answers2

8

You can set the background color as

<fieldset style="float: left; width: 280px; background-color:red;">

you can use color codes for setting background color like this

<fieldset style="float: left; width: 280px; background-color:#999999;">

you can visit http://www.colorpicker.com/ for finding color codes

ag93
  • 343
  • 4
  • 17
Praveen Dabral
  • 2,449
  • 4
  • 32
  • 46
3

The answer is staring you in the face

fieldset
{ 
border: solid 1px #080808;
background-color:yellow !important;

}
cimmanon
  • 67,211
  • 17
  • 165
  • 171
bradhanks
  • 422
  • 4
  • 9