Results 1 to 2 of 2

Thread: postition problems

  1. #1
    Join Date
    Mar 2010

    postition problems

    im trying to get generic position for these divs i have
    i dont care where it is on the page, but i want all of these divs to have top:0px; and left:0px; in the same spot so i try to set this and i try all of the position values: static, absolute, fixed, relative and inherit.
    absolute and fixed break the positioning in a way i do not want. each div i am working on has a "shadow div" and the whole point of all of this is to get each yellow div on top of its red "shadow div". absolute and fixed make this impossible i think.
    static, inherit and relative do not change the top:0px; left 0px; spot
    any ideas guys?
    Last edited by chopficaro; 04-07-2013 at 06:10 PM.

  2. #2
    Join Date
    Mar 2010
    found the solution tyvm
    To position divs on top of one another give each position:absolute and wrap them all in another div with position:relative

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