Forum Moderators: open

Message Too Old, No Replies

Move an absolute positioned div

moveby?

         

gph

5:09 am on May 8, 2002 (gmt 0)

10+ Year Member



I have a div on an include page that needs to be displayed in two different positions on different pages.

I could use different CSS but am wondering if I can do it using JavaScript?

I need the div to just be in a different location when the page is loaded rather than move or slide after the page is loaded.

Is this possible?

Thank you.

Lisa

5:26 am on May 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds very possible. Just include the proper aligning code on each page.

gph

5:38 am on May 8, 2002 (gmt 0)

10+ Year Member



Well, as an exercise in stupidity, I'll answer my own question. All I need to do is put a different style in the head of the page after the link to my external style sheets :-)

gph

5:39 am on May 8, 2002 (gmt 0)

10+ Year Member



Thanks Lisa, yes your right

scradm

9:15 am on May 8, 2002 (gmt 0)



For aligning / CSS moving layers, I highly recommend the FREE Dreamweaver extensions from

[projectseven.com...]

cheers

Dave