Inline elements and padding

November 19th, 2006

Have you ever tried to add padding to <li> elements that have been set to “display: inline”? Did you find that the padding seemed to be rendering in an unusual way? Inline elements and padding explains why this occurs and one method that can be used to overcome the problem.

Tags: , ,