[jq] Centrare un div

$('#idDiv').css({
        position:'fixed',
        left: ($(window).width() - $('#idDiv').outerWidth())/2,
       top: ($(window).height() - $('#idDiv').outerHeight())/2
    });

posted @ venerdì 26 novembre 2010 13:31

Print

Comments on this entry:

# re: [jq] Centrare un div

Left by Fun Electronics at 12/01/2011 11:14
Gravatar
Someday i missed her so much.

# re: [jq] Centrare un div

Left by plastic surgeon at 16/07/2011 06:15
Gravatar
Sounds very interesting! I will check this out!
Comments have been closed on this topic.
«agosto»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910