[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.
«novembre»
domlunmarmergiovensab
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567