I have a pretty basic problem with html & css. I've created a footer with a <p>
tag and an <li>
tag. Inside the <li>
tag I have an image, this image however goes outside of the footer. How can I make the image go inside the footer tag?
HTML
<footer class="footer">
<p class="footerP">© Axel Halldin 2016 ©</p>
<li class="socialMedias"> <img class="facebook" src="facebook.jpg" href="https://www.facebook.com/axel.halldin1?fref=ts"/>
</li>
</footer>
CSS
.footer{
background-color:#003366;
margin:0;
padding:0;
width:90vw;
height:22.5vh;
float:right;
}
.footerP{
color:white;
font-family:FiraSans-Regular, sans-serif;
font-size:16px;
margin:0;
line-height:22.5vh;
}
.socialMedias{
float:right;
}
.facebook{
width:5vw;
height:10vh;
}