Absolute positioning – where is 0,0?

There are many tutorials on CSS positioning. In short, there are three modes:

  • static
  • relative
  • absolute

In static mode, the element is located where it should normally be.

In relative mode is the position set by the parent element.

And how is it in absolute positioning? In absolute mode, positioning is from the nearest parent tag that has set the relative positioning or absolute.

Interesting tutorial: http://www.barelyfitz.com/screencast/html-training/css/positioning/

This entry was posted in CSS. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>