1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    3
    Vote Rating
    0
    sundvold is on a distinguished road

      0  

    Default centered animation

    centered animation


    hey guy,

    When i used the beta version of sencha animator it was easy to center the animation using <center> tag just under the <body> section.
    Now with the final release (1.1) it doesn't work anymore

    thanks

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Yeah, since scenes can have different sizes, it's a little different now.

    You could add some css to give the "AN-sObj-parentOl" div a height and a width to match your scenes.

    Then you could try something like this:
    http://css-tricks.com/quick-css-tric...in-the-center/

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Vote Rating
    0
    vigom is on a distinguished road

      0  

    Default css center body

    css center body


    For those looking for how to center body exported from Animator.
    You can change this on the CSS code part.

    Code:
    body,.AN-sObj-stage,ol,li {
    /*  margin: 0; */
        padding: 0;
        position: fixed;
        top: 0%;
        left: 50%;
        /* margin-top: -50px; */
        margin-left: -380px; /* Here you place half of you compostion width dimension */
    Although I recommend reading the above link.
    http://css-tricks.com/quick-css-tric...in-the-center/

  4. #4
    Sencha User
    Join Date
    Aug 2014
    Posts
    3
    Vote Rating
    0
    darrenbang is on a distinguished road

      0  

    Default


    try CSS centering with Div ...http://www.corelangs.com/css/box/center-div.html

    darren

Thread Participants: 3

Tags for this Thread