Static, relative, absolute, fixed, float. What the hell is all this!




beattle2b.gif

CSS positioning is quite easy. I guess no-one explained it plain and simple before.
I want to be crystal clear about the subject so I decided to separate the post into two parts.

The first part (this post) will focus on the four types of CSS positioning: static, relative, absolute and fixed.

The second part will focus on the float property that is obviously related to an element's position in our site.

Let's get started.

http://thecssblog.com/tutorials/stopping-the-css-positioning-panic-part-1/

Comments