simulate frames

  1. #header{
  2.   position: fixed;
  3.   top: 0px;
  4.   left: 0px;
  5.   width:100%;
  6.   background:#EFEFEF;
  7.   border-bottom: 1px dotted #999999;
  8.   padding:1em;
  9.   }

The header and footer section of this site is done this way. Note that this requires CSS2, though it is probably not compliant for older browsers.