Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

center responsive layouts in Edge

$
0
0

Hi,

 

I would like to center a responsive layout, which I have done.

 

With that code it works, but only when the width of my layout is fix:

$("#Stage").css("margin","auto")

 

But I want a flexible width, (I am using stage width in % not in px) and then the

code is not working anymore.

 

I need this flexible width, because I am loading in a container which is positioned on the stage

three different layouts with 320px, 600px and 1200px-width.

 

yepnope ({

load: "libs/EdgeCommons.js",

callback: function (){

EC.setAdaptiveLayouts(

[320, 600, 1200], sym, "adaptiveContainer"

);

}

});

 

These layouts I have created in Symbols.

is it possible to center these different layouts/symbols?

 

Can anyoune help me with that?

 

Many, many Thanx!!


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>