CSS For Stick Footer
In every website, Footer’s position depends upon the content size of the page. And very often we notice that different pages has different content size. Some pages has more content to display & some has less content to display.
Specific code is used to display footer at bottom. Following is the code:
CSS Require for stick Footer
In this code, we have given minimum height of 100% for the class named body & html. And
<div> tag named "page div" is also used in the above code. Firstly, give position as relative
i.e. "position: relative". By giving this, contents of page will properly display in Firefox as well
as in Netscape.
But to get proper view in IE, you have to give (* html#page) as shown in the above CSS code. And for proper footer's
position you have to give "position: absolute" & bottom as zero.
CSS Designing
XHTML
Click here to view fix footer.
