Is there any way, bearing in mind the way the jQuery Mobile framework operates, to fix the page so that the footer always aligns with the bottom of the page - no matter the
The following lines work just fine...
var headerHeight = $( '#header' ).height(); var footerHeight = $( '#footer' ).height(); var footerTop = $( '#footer' ).offset().top; var height = ( footerTop - ( headerHeight + footerHeight ) ); $( '#content' ).height( height );