[fusion-users] Jx.Layout and CSS positioning best practice

gingerbbm stuart.jones at jacobs.com
Thu Aug 14 04:42:54 EDT 2008


Dear all

I don't seem to be able to set the positioning of my Fusion widgets using
CSS. Is my only option to do this in the JavaScript constructor? Rather than
this...

new Jx.Layout(
    'Map',
    {width: 700, height: 400, left: 200, right: null, top: 70, bottom: null}
);

...I was hoping I could do this instead:

[JavaScript]
new Jx.Layout('Map');

[CSS]
#Map {
    width: 700px; height: 400px; 
    left: 200px; top: 70px;
}

Any advice/comments/wisdom?

Thanks
Stuart
-- 
View this message in context: http://www.nabble.com/Jx.Layout-and-CSS-positioning-best-practice-tp18977839p18977839.html
Sent from the Fusion Users mailing list archive at Nabble.com.



More information about the fusion-users mailing list