dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Stupid yet simple question about position

  1. #1
    Join Date
    Oct 2003
    Posts
    215

    Stupid yet simple question about position

    What exactly does position: relative mean? I've always used absolute...it seams that whenever i try position: relative I cannot actually place a DIV where I want it....

  2. #2
    Join Date
    Nov 2002
    Location
    Dartmoor [Holiday]
    Posts
    2,382
    Position: relative allows you to specify an offset from the position the element would normally appear at. That is, the position is calculated normally then the box is moved by the amount you specify using left/top etc. I must admit, I don't use it often either.

    For more information, see the specs:
    http://www.w3.org/TR/CSS2/visuren.ht...ve-positioning

    Adam

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles