Here is a great tip for placing a standard footer at the bottom of every portal page.  It is a simple and low maintenance solution for creating a copyright identifier or additional navigation.  I like it because you maintain the text in one place and changes (like a new year or new link) can be propogated easily.

1. Create myfooter.htc containing the html below (replace the ‘< ‘ with ‘<‘).  Save it to the same directory where SPS.CSS resides (/_layouts/1033/styles).  You can alter the contents of your footer by changing the html in the string variable.
< PUBLIC:COMPONENT>
< PUBLIC:ATTACH EVENT="onload" FOR="window" ONEVENT="DoFooter()" />
< SCRIPT language="jscript">
function DoFooter()
{
var innerStr="< div class=myfooter align=center>© Cardarelli Consulting.  All Rights Reserved.< /div>";
this.insertAdjacentHTML(‘beforeEnd’, innerStr);
}
< /SCRIPT>
< /PUBLIC:COMPONENT>

2. Edit the SPS.CSS file to include the following (this will push your footer to all portal pages).  You can edit the visual appearance of your footer by altering the myfooter attributes:

body
{
 behavior:url("/_layouts/1033/styles/myfooter.htc");
}
.myfooter{
font-family:Verdanas,Arial,Helvetica,sans-serif;
font-size:12pt;
color:white;
background-color:blue;
background-repeat:repeat-x;
background-position-y:bottom;
padding:3px;
}

3. Repeat step #2 for OWS.CSS to push the footer to WSS sites.

Advertisements