Categories > Web Coding

Creating a Footer using HTML and CSS

(1/1)

jdaniele:
The part that's the most important is the CSS part:
=========================
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: gray;
    color: #5c5c5c;
    text-align: center;
}
=========================

Now the part that you see is the DIV tag that will be in the body. The important part there is classifying it.
=========================
<div class="footer">
  Auther: Name<br />
  Address: location
</div>
=========================

Navigation

[0] Message Index

Go to full version
Free Web Hosting