i creat a footer on my site so tell what can i do and what method try to creat a footer help me.
thanks and advances.

Recommended Answers

All 5 Replies

Here's one method.

<div id="top"></div>
<div id="container">
    <p>The content goes here</p>
    <div id="footer-spacer"></div>   
</div>
<div id="footer">
    The footer goes here
</div>

or for css:

html, body {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    background-color: #fff;
}
#top {
    position: absolute;
}
h1, p {
    margin: 0;
    padding: 0.3em 0;
}
#container {
    min-height: 100%;
    margin-bottom: -36px;
}
* html #container {
    height: 100%;
}
#footer-spacer {
    height: 36px;
}
#footer {
    border-top: 1px solid #000;
    height: 35px;
}

hopefully this helps

hi
yes i Agree with...JamieLynnSEO.....

thank for all i solve this.

haha,then , i learn so much~~

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.