@Adam
here's my solution to that problem, this is the page in design mode:
this is the code attached to the button (you should use it in page load event):
precode
var imgH = Appery('mobileimage_9').height();
var imgW = Appery('mobileimage_9').width();
//alert(h);
var cellElement = Appery('mobileimage_9').closest('td');
var clH = cellElement.height();
var clW = cellElement.width();
var imgLeft = (clW - imgW) / 2;
var imgTop = (clH - imgH) / 2;
Appery('mobileimage_9').css('position', 'relative').css('top',imgTop).css('left',imgLeft);
Appery('mobileimage_10').css('position', 'relative').css('top',imgTop).css('left',imgLeft);
/code/pre
once run before running the code:
now, after running the code:
different screen size before running the code:
different screen size after running the code:
i'm sure there are other ways to get this done but this does the work for me.
Best,
R.