CSS display: inline-block: why it rocks, and why it sucks

Usually when you want a horizontal list, you need to use float in the CSS code to make it work, with all its drawbacks. However, there is an alternative with display: inline-block. Problems with float The problem when you have float in your CSS code is that you need to take some precaution to make … Continue reading CSS display: inline-block: why it rocks, and why it sucks