Team:Minnesota/Test

From 2012.igem.org

(Difference between revisions)
m
m
Line 15: Line 15:
$(window).resize(function(){
$(window).resize(function(){
-
   $('ContentAll').css({
+
   $('#ContentAll').css({
     position:'absolute',
     position:'absolute',
     left: ($(window).width() - $('ContentAll').outerWidth())/2,
     left: ($(window).width() - $('ContentAll').outerWidth())/2,
Line 25: Line 25:
// To initially run the function:
// To initially run the function:
$(window).resize();
$(window).resize();
 +
 +
 +
 +
 +
});
});

Revision as of 03:01, 22 August 2012

Team:Minnesota - Main Style Template Team:Minnesota