Comment Comment by TheKidCoder Remove that float:left and replace with display: inline-block. Then you can get rid of those pseduo-selectors with the margin rules.http://codepen.io/HugoGiraudel/full/DoAIB parent TheKidCoder 13 years ago
http://codepen.io/HugoGiraudel/full/DoAIB