treehouse : what would you like to learn today?
Web Design Web Development iOS Development

absolute position and relative positions?

  • I saw an article on this site about positioning a div with relative positioning and then using relative positioning inside that div. I don't get why this is such a big deal. I have not been able to rap my head around these yet. Can you shed some light on this with an example?
  • I would say that Stopdesign has a good article about Making the Absolute, Relative. Check out the paragraphs about bottom-hugging navigation, further down in the article.

    The good thing about this, is when you just need that pixel-perfect positioned <div> somewhere on your page, you can do just that by embracing it inside a relative positioned div.