How to add a footer stick to the bottom of the web page using css.

Recommended Answers

All 3 Replies

Have a look at this post.


Regards, Arkinder

Ryan Fait has a simple soloution for creating a sticky footer,

have a look at SNIP

This code may help you.
<div id="footer">
<p>Your Content</p>
</div>

#footer {
width: 680px;
background-color: #000;
color: #DDD;
text-align: center;
height: 40px;
padding-top: 10px;
margin:-50px auto 0 auto;
}

Change this code according your need.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.