I found as problematic thing to align vertically some elements on page, without changing some others elements layouts.
The problem is magnified on mobile devices. So many screen sizes, resolutions, portrait, landscape...
var x=window.innerHeight - $('#myDiv').height();
$('#myDiv').css ('margin-top', x/2);
This should be ok for all devices, mobile and desktop. Do you see any downside of these approach?
As I understand, all devices today support JavaScript. But, is it possible that some device supports JS but doesn't support jQuery ?