Menu
I’m trying to figure out how to find the position of a centered div. I tried document.getElementById(id).style.top and document.getComputedStyle(theScreen, null).top neither of which worked. I can’t seem to get the position of this div unless I set it explicitly which doesn’t let me have it centered using margin: 0px auto. Is there another way to find the position of this thing? Thanks,
-Ryan