<div class="narrow heading">Heading</div>
<div class="narrow">Description goes here</div>
.narrow{
margin-left:5em;
margin-right:5em;
}
.heading{
font-size:36px;
}
Why is increasing the font of heading moving it farther away from left?
If I replace 12 em by 165 px in CSS the desired effect is achieved. But then the site will not appear as wanted with different window sizes.