1

I want to place the footer at bottom of the window if the content of window has no scrollbars otherwise put the footer at the end of content here is my html code

<div class="container-fluid">
    <div class="header"></div>
    <div class="con"></div>
    <div class="footer">Copyright msg</div>
</div>
coure2011
  • 40,286
  • 83
  • 216
  • 349

1 Answers1

2

The effect you are looking for is known as a 'sticky footer', I believe -- where the footer will always appear pinned to the bottom of the page, even if the content is very short? You can find the solution here.

Community
  • 1
  • 1
Ceili
  • 1,308
  • 1
  • 11
  • 17