Team:Minnesota/Test

From 2012.igem.org

(Difference between revisions)
m
m
Line 17: Line 17:
   $('#ContentAll').css({
   $('#ContentAll').css({
     position:'absolute',
     position:'absolute',
-
     left: ($(window).width() - $('ContentAll').outerWidth())/2,
+
     left: ($(window).width() - $('#ContentAll').outerWidth())/2,
-
     top: ($(window).height() - $('ContentAll').outerHeight())/2
+
     top: ($(window).height() - $('#ContentAll').outerHeight())/2
   });
   });
   alert($(window).width());
   alert($(window).width());

Revision as of 03:05, 22 August 2012

Team:Minnesota - Main Style Template Team:Minnesota