stbuchok
Practically a Posting Shark
875 posts since May 2011
Reputation Points: 138
Solved Threads: 124
Skill Endorsements: 2
divide by 2 (half the width of the div)
div.left = (window.width / 2) - (div.width / 2)
That should center the div (you'll want this to happen on the resize event as well).
stbuchok
Practically a Posting Shark
875 posts since May 2011
Reputation Points: 138
Solved Threads: 124
Skill Endorsements: 2
Question Answered as of 1 Year Ago by
stbuchok