How does exactlly line-height work in this case
问题 In this question positioning text of anchor within a div and given the same code which I repeat here: HTML Markup <div id="header"> <a href="cattle.html" class="current">Cattle Farms</a> </div> CSS Style #header a { width: 100%; height: 100%; display: block; font-size: 25px; } Answer div#header a { width: 100%; height: 100%; display: block; text-indent: 20px; line-height: 350px; } Fiddle My question is why does not the line-height make the a break out of the div 回答1: It does break out of the