Position Absolute "How do you use it"

Josh Simpson's picture

They have: 147 posts

Joined: Dec 1999

Does any on know how to use the position absolute comand?

I am trying to create a photograph page and want the efect of randomly placed images with out using tables Smiling

Josh

JLS (Joshua Lee Simpson)

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

absolute positioning is used primarily in dHTML within a div declaration. style = "position:absolute; top:39px; left:32px"
I have never seen it "absolutely" position anything in the manner that you probably want because of other elements on the page. However, if you want to see 3 examples (all within tables, but that really doesn't matter except for referencing), go to my cut&paste javascript site: http://members.aol.com/grassblad

Vinny

Where the world once stood
the blades of grass cut me still

Josh Simpson's picture

They have: 147 posts

Joined: Dec 1999

Thanks for the page but the infomation went straight over my head =(
any simpler explinations?

They have: 359 posts

Joined: Mar 1999

Josh,

If you go to this page, you can look at the source code and see how it works. Basically, there are 3 boxes positioned with coordinates. Two of the boxes have pics in them and the third is the text box. They are completely outside of any tables. By changing the coordinates, can move the pics anywhere on the page, including overlapping.

http://cds-computers.com/classof69/photos.html

------------------
Dan
CDS Web Design

Dan
Recycle Video Games Network

Stupidity killed the cat, curiosity was framed!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.