Created
August 9, 2014 09:37
-
-
Save xola139/5f204a77becfa12ae051 to your computer and use it in GitHub Desktop.
Centrar un div con jquery teniendo como position:fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#element').css({left:($(window).width() - $('#contenedorPrincipal').outerWidth())/2} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment