Grow your CSS skills. Land your dream job.

absolute position and relative positions?

  • # June 6, 2008 at 1:38 am

    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?

    # June 6, 2008 at 7:09 am

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".