panel background color

  1. #1

    panel background color

    Hello everyone,

    is it possible to change the panel background color (v0.8.2) ?
    Every css style applied by the "Cls" property, seems not modifying the color of the background but only, for example, the text color of a label within the panel.

    This is exactly what happens with the following (the label text color is green and the background still remains white):

    
      <style type="text/css">
          .css1
        {
        background-color:Red;
        color:Green;    
      </style>
    
     <ext:Panel ID="Panel1" runat="server"    
            Frame="false"
            Padding="5"
            AutoHeight="true"
            cls="css1">
           <Body>
                 <ext:Label runat="server" ID="lbl1" Text="some_text_here" ></ext:Label>
            </Body>                                                                       
     </ext:Panel>
    Thank you.
    Last edited by unaltro2; Jan 10, 2011 at 1:44 PM.
  2. #2
    Hi,

    Try this
     .css1 .x-panel-body
       {
       background-color:Red !important;
       color:Green;
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Hi, i've tried but the backgrond panel still remain white and only the label is green.

    Thanks.
    Fabio.

Similar Threads

  1. Replies: 0
    Last Post: Sep 27, 2011, 11:24 AM
  2. [CLOSED] How to set Panel background color?
    By wagger in forum 1.x Premium Help
    Replies: 2
    Last Post: May 14, 2011, 7:17 PM
  3. [CLOSED] Background color toolbar
    By 78fede78 in forum 1.x Premium Help
    Replies: 1
    Last Post: Feb 14, 2011, 12:33 PM
  4. Background color in codebehind
    By fabiomarcos in forum 1.x Help
    Replies: 8
    Last Post: Oct 30, 2010, 4:58 PM
  5. Change Tab background color or background image
    By georgelanes in forum 1.x Help
    Replies: 0
    Last Post: Nov 06, 2008, 4:55 PM

Tags for this Thread

Posting Permissions