CSS: Setting line-height on the body Tag Can Causes Un-Wanted Rendering Anomalies

If you have content on your site on which you want to set a custom line-height, doing so on the body tag can cause some unwanted side-effects and rendering anomalies in some browsers.

My suggestion would be to set the line height on the specific content container (div, span, ul, etc.).

Leave a Reply