© Publishing Perspectives, 2013.
CSS (Cascading Stylesheets) is the visual language to HTML’s data structures. CSS is very easy to learn because there are limited commands and the changes can be viewed immediately. However, it can be a very difficult concept to master as there is much more to it than meets the eye.
Inline, Inline-block, and Block
All rendered (visible on the page) HTML elements are one of the following display types: inline, inline-block, or block. Each has its use and understanding the differences can save you a great amount of headache when trying to position and style elements.