[thelist] dom gives me a headache

Ben Henick persist1 at io.com
Fri Dec 14 16:05:46 CST 2001


On Fri, 14 Dec 2001, rudy wrote:

> are offsetLeft and offsetTop relative to something?

...The origin of the PARENT element.

If you're dealing with nested blocks of any kind at all you'll want to
account for the parent element(s) as well...


-- 
Ben Henick
Web Author At-Large              Managing Editor
http://www.io.com/persist1/      http://www.digital-web.com/
persist1 at io.com                  bmh at digital-web.com
--
"Are you pondering what I'm pondering, Pinky?"
"I think so, Brain, but... (snort) no, no, it's too stupid."
"We will disguise ourselves as a cow."
"Oh!" (giggles) "That was it exactly!"





More information about the thelist mailing list