2 Replies Latest reply on Dec 4, 2014 6:03 PM by More2Do

    max-width on responive oam file

    More2Do Level 1

      I'm having difficulty retaining the desired maximum width of 545px of the oam file in my responsive website. I published the animation with "Responsive Scaling--Width" checked. The problem is the animation wants to stretch across the entire width of the browser window. I created some code to contain the oam within the specified max- width (see below), but it didn't work. Is there another solution?

       

      CSS:

      #anime-container {

          height: auto !important;

          max-width: 545px !important;

          margin: auto;

          }

       

      HTML:

      <div id="anime-container">

        <div id="Stage" class="EDGE-234940850"></div>

      </div>

       

      Thanks!