question about positioning an element on a page. Help Please!

grines614

New Member
hello. i have a question. i am trying to position an element to a certain area of this page. Now I could easily do it, if my page was left justified, however it is centered. so what I am looking to do is..
1. first have the page detect the screen size of a browser window
2. Next i want to do some math where I set my element a certain distance from (0,0) --(Center of the page) and position it accordingly
I'm sure this will work, however I cannot think of code to execute this. You can take a look at the example I'm working on. What I have done is just create a layer for my element, but as you can see when you resize or shrink your browser window, the element shifts. This is driving me crazy. Please help me out!! Thanks in advance! http://stoplookandlearn.com/mm5/merchant.mvc
 
Top