0 Replies Latest reply on Dec 3, 2006 3:16 PM by Baizone

    backgroundImage position

    Baizone
      please, how to place a backgroundImage style in the top of a <mx:Box> and not in the vertcal center when my image is smaller than my box ?
      In the following exemple, logo.jpg has a width:800px and a height:50px

      .logo{
      backgroundImage:Embed("/images/logo.jpg");
      backgroundAttachment:scroll;
      }

      <mx:Box direction="vertical" width="800" height="368" id="box1" styleName="logo">
      </mx:Box>

      ps:sorry for my english