I have a page, the code is:
<!DOCTYPE html>
<html>
<head lang="en">
<style>
body {
font-size: 0.625em;
}
.outer {
cursor: pointer;
}
.text {
display: table-cell;
vertical-align: middle;
height: 16px;
}
.text-wrapper {
display: inline-block;
}
</style>
</head>
<body>
<div class="outer">
<div class="text-wrapper">
<div class="text">Search Now</div>
</div>
</div>
</body>
</html>
I view this page in Chrome and Firefox,
and I asume that the outer div's height would be 16px. but in Chrome, the outer div's height is 19px, and in Firefox, the outer div's height is 20px(from the browser's computed box model view).
Now I want to know how the browser compute the outer div's height?