There is a page containing various div elements. HTML:
<div class="utilitiesHeader">
<div id="utilitiesLogo"></div>
<div id="utilitiesFIO">Name of user</div>
</div>
<div class="utilitiesContent">
<div class="utilitiesCommon">Common</div>
<div class="utilitiesArchive">Archive</div>
<div class="utilitiesReadings">Readings</div>
</div>
CSS:
div#utilitiesLogo {
width: 226px;
height: 101px;
background: url("../images/feelinhome-logo.png") no-repeat 0 0;
margin: 0;
}
div#utilitiesFIO {
float:right;
font-size: 30px;
}
div.utilitiesHeader {
display:inline;
}
If you observe the example provided, you may notice that for some reason the Name div is displayed on a separate line and the logo div extends the entire width of the page despite having a specified width. What could be causing this issue?