I am trying to give top-margin
to div with id=footer
.but it is not working instead height get increased of outer div.
HTML File:
<div id="lowestContainer">
<div class="middle" id="footer">
<address id="addressSFCM">
xxxxx-xxxx-xxxxx-xxxx<br/>
xx--xx--xx--xx<br/>
xxx---xxx-x--x-xx-xx<br/>
Email:xxxxx@hotmail.com
</address>
</div>
</div>
Css file:
#lowestContainer{
background-color: rgba(18,19,20,1);
height: 300px;
z-index: 1000;
box-shadow: 1px 0px 3px rgb(0,0,0,0.3);
}
#footer{
width:1000px;
height:100px;
display:block;
}
#addressSFCM{
color: rgba(76,76,76,1);
max-width: 220px;
height:auto;
/*margin-top: 30px;*/
display:inline;
}
Please help me over this problem;