Take a look at the following code snippet:
<head>
<title></title>
<style>
.section_divs {
background-color: lightblue;
float: left;
}
#section_empty {
background-color: tomato;
width: 10%;
}
#section_words {
width: 80%;
}
</style>
</head>
<body>
<section>
<div class="section_divs" id="section_empty">a</div>
<div class="section_divs" id="section_words">a</div>
<div class="section_divs" id="section_empty">a</div>
</section>
</body>
The issue arises when I remove the letter 'a' inside the div tags from:
<div class="section_divs" id="section_empty">a</div>
to
<div class="section_divs" id="section_empty"></div>
In this scenario, the div disappears. I am puzzled as to why this happens and whether there is a way to maintain the dimensions of the div identical to the other divs?