It just dawned on me, not only in webkit browsers. All texts within p
tags or h1
tags seem to have extra spacing above and below the text.
In my investigation in Chrome, I came across this:
user agent stylesheet
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
This extra space disrupts alignment in certain areas. Despite using a reset stylesheet with no additional padding or margin, this issue persists. It almost seems like a basic setup. What is causing this and how can it be resolved?