[thelist] can't find image position unless set with CSS?(was: javascript que

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Dec 13 13:19:17 CST 2001


>Hmm...  So what you are saying, Mark, is that you cannot get the
>position of an image or other element without having previously
>set a location for that element with CSS?

Maybe he tried to say that, but it is NOT true. On the page I sent earlier 
(http://www.xs4all.nl/~ppk/js/index.html?findpos.html) I have the beginning 
of a script that can find the position of any element for you.

>I realize that CSS is what we're supposed to use for
>positioning, but I would find it a major oversight if the only
>reason a person can't identify the position of an image was
>because they allowed it to be placed on the page in the manner
>that HTML dictates (IE below anything previously scripted in
>HTML).

Quite correct, that's why it IS possible.

ppk

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com





More information about the thelist mailing list