when you say left:-450px, where does the (0,0) coordinate start from, top right hand corner of the brower?
left-450px moves right 450 px?
if left: 450px, then it moves left 450px from right position?
| SitePoint Sponsor |


when you say left:-450px, where does the (0,0) coordinate start from, top right hand corner of the brower?
left-450px moves right 450 px?
if left: 450px, then it moves left 450px from right position?

left is relative to the left edge of the element.
right is relative to the right edge of the element etc..
So if you set everything to 0 it should stretch the element to the full height/width of the parent, though IE doesn't do this.
No it doesn'tleft-450px moves right 450 px?
left: -450px; would move the left edge of the element 450px left.


Not only that, but the coordinates 0, 0 refer to "top left" as well. Think of a clock, or a box. You start at 12:00 then move to 3:00 then 6:00 then 9:00 and back to 12. With a box, you normally start in the upper left hand corner, draw a line to the right, then go down, stop and draw a line to the left, and then go back up again to close it.
Same thing here.![]()
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
Bookmarks