On 27 Apr 2004 15:47:26 -0700,
jo******@fastermail.com (John) wrote:
I would like to know how I can be able to know the position of an
image or a div tag.
Tags don't have "positions" as a property connected to them. As used in
a markup language they only mark the beginning and the end of elements
with possible content written between the start tag and the end tag.
My aim is to put layers in any position I want to...
Oh...Promise that if you ever find out how to do that "any position I
want to" thingy on the www, please report back here because just about
all of us wants to know how to do the same :-)
For example If I have the following code
<div id=layer1>
item1<br>
item2<br>
item3<br>
</div>
<div id=layer2>
item4<br>
item5<br>
</div>
I would like to place layer2 on the left of item2 in layer1.
How would I know the position of item2?
You have started to dig a hole in the wrong place; before you go any
deeper, stop digging and revert to give us all an idea of what it is
that you _really_ want to achieve. Helpful hints /may/ be available but
we do need a better context from you to apply them to.
--
Rex