I have a situation where one of my web pages contains a DIV element with text inside, set at 1.1em size. Here's an example:
<div id="displaydiv">
<b>Hello World</b>
</div>
On another page, I have the same DIV element but without any text, resulting in a visually shorter height compared to the first page.
<div id="displaydiv">
</div>
What is the best approach to maintain the same height for the DIV element on both pages?