CSS relative + absolute positioning
In my work I use a lot of CSS and one of the things I always hate about CSS is trying to get things positioned exactly where you want them. Yesterday I came across this website that clearly explains the differences between a couple of layout properties. It’s nice to have a clear overview like that and it even had something that was new for me. In the 4th example on that page it shows that you can “nest” position:absolute inside position:relative. It’s a very useful feature of CSS but in my opinion it’s just one of those stupid things. Why didn’t they just make a position:absolutefromparent property or something like that? In that case it would be a lot easier to find that this functionality even exists just by looking at a list of position properties for example.
Comments(2)