Unable to use background-position: center for VBox in flex

Posted by Zeeshan Rang on Stack Overflow See other posts from Stack Overflow or by Zeeshan Rang
Published on 2010-04-05T22:24:10Z Indexed on 2010/04/05 22:33 UTC
Read the original article Hit count: 367

Filed under:
|
|

Hi

I am trying to use css to have a background in a VBox which is positioned to the top of the container.

my css style looks like below:

<mx:Style>

    .agendaDateVBoxStyle
    {
        vertical-gap:0;
        corner-radius: 10;                      
        border-style:solid;
        border-color: #7191ba;
        background-color: #000000;
        background-image: 'assets/calendar/images/agenda-date-bg.png';
        background-repeat:no-repeat;
        background-position:top;

    }

Can someone help me with the situation.

Regards Zee

© Stack Overflow or respective owner

Related posts about css

Related posts about flex