I am testing out a footer on one of my pages so that I can put it on every page but it does not display properly. Currently, the div's in the footer div are all stacking on top of each other rather than being next to each other. Also, the divs are only displaying part of the image that they should be displaying instead of the whole image. I also am not sure how to make these change appropriately with screen size sliding as the divs will not all be uniform sizes but should always end up taking up the whole width of the screen. My CSS is:
.page{
height: 100%;
width: 100%;
text-align: center;
}
.bgood-footer{
width:100%;
height: 20%;
position: fixed;
bottom: 0;
}
.mobile-app{
float: left;
background-image: url('../images-source/mobile-app.png');
background-repeat: no-repeat;
}
.talk{
float: left;
background-image: url('../images-source/talk-to-us.png');
background-repeat: no-repeat;
}
.careers{
float: left;
background-image: url('../images-source/careers.png');
background-repeat: no-repeat;
}
.press{
float: left;
background-image: url('../images-source/press.png');
background-repeat: no-repeat;
}
.blank{
float: left;
background-image: url('../images-source/blank.png');
background-repeat: no-repeat;
}
.fb{
float: left;
background-image: url('../images-source/fb.png');
background-repeat: no-repeat;
}
.yt{
float: left;
background-image: url('../images-source/yt.png');
background-repeat: no-repeat;
}
.tw{
float: left;
background-image: url('../images-source/tw.png');
background-repeat: no-repeat;
}
.ig{
float: left;
background-image: url('../images-source/ig.png');
background-repeat: no-repeat;
}
.ordering-loc{
float: left;
background-image: url('../images-source/ordering-loc.png');
background-repeat: no-repeat;
}
My HTML is:
<div class="page">
<div class="bgood-footer">
<a href="/mobile-app">
<div class="mobile-app">Mobile Application</div>
</a>
<a href="/talk-to-us">
<div class="talk">Talk To Us</div>
</a>
<a href="/careers">
<div class="careers">Careers</div>
</a>
<a href="/press">
<div class="press">Press</div>
</a>
<div class="blank"></div>
<a href="https://www.facebook.com/bgood">
<div class="fb">FB</div>
</a>
<a href="https://www.youtube.com/user/unclefaris">
<div class="yt">YT</div>
</a>
<a href="https://twitter.com/b_good_">
<div class="tw">TW</div>
</a>
<a href="https://twitter.com/b_good_">
<div class="ig">IG</div>
</a>
<div class="ordering-loc">Ordering From Location</div>
</div>
</div>