See: http://jsbin.com/agiyer

Note that if the content is too tall to fit inside #content, it will simply be hidden.

HTML:

&lt;div id="header"&gt;header&lt;/div&gt;
&lt;div id="content"&gt;content&lt;/div&gt;


CSS:

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px; 
    background: green
}
#content {
    position: absolute;
    top: 50px;
    left: 0;
    bottom: 0;
    right: 0;
    border: 3px dashed gray;
    background: #ccc
}


Full height & width, fixed header, full content height with CSS
I normally use \usepackage[T1]{fontenc} without giving it any thought. The package libertine seems to provide more ligatures with the LY1 encoding.

\documentclass{article}
\usepackage{libertine}
\usepackage[LY1,T1]{fontenc}
\newcommand{\f}{fb ff fh fi fj fk fl ft}
\begin{document}
\fontencoding{T1}\selectfont\f

\fontencoding{LY1}\selectfont\f
\end{document}




Are there any drawbacks to using LY1?
