Jump to content

Recommended Posts

Posted

I am curious to see what technique you all use to have a bottom always, or near the bottom.

I have tried several scripts, css hacks, and none seems to have the effect I am looking for:

to display footer at bottom, under content,

to display foorter at bottom, if no content.

Since I am using foundation and even the developers have trouble implementing this (forum zurb), I now use this which does not give me any trouble at all... :

<body>
   <nav> my topbar navigation </nav>
   <div class="wrapper">
        my content
   </div> <!-- wrapper ends -->
   <footer> footer content here </footer>
</body>

// I use this css so that my wrapper always is at least 80%
// of <body> minus the total height of (<nav> + <footer>) : 
.wrapper {
    margin: 5% 0%; /* this is outside the element */
    min-height: 70%; /* this is inside the element */
}

Posted

A million hits, and not much good results. Someone can move it to off-topic if they want to.

I simply asked if one has another solution (using) PW + foundation = php + css

ps. sticky footer is NOT a bottom footer perse.

Posted

@Manfred62, using javascript for a sticky footer is in my opinion a bad habit...

believe me... I'm neither using Foundation (as framework) nor javascript for sticky footers  :biggrin: 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...