I'm puzzled as to why the mainCountainerHeadLogo
isn't expanding the parent div, mainCountainerHead
, in terms of height.
Interestingly, when I adjust the page scale, both mainCountainerHeadTitle
and mainCountainerHeadMenu
do expand the mainCountainerHead
.
Pardon my English and thanks in advance!
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
.mainCountainer {
min-height: 100%;
width: 70%;
margin: 0 auto;
}
.mainCountainerHead {
background-color: aqua;
height: auto;
}
....(CSS code continues)
<div class="mainCountainer">
<div class="mainCountainerHead">
... (HTML code continues)
</div>