CSS frame
Similar to everyone's favorite CSS tip to have scrolling areas in html pages, here is what I'd call a CSS frame.
This quick and easy tip let's you, for example, have a fixed menu on a page without frames.
The secret sauce is in the source. Extract:
<STYLE>
#menu
{
float: left;
margin-right: 10px;
margin-top: 10px;
}
#content
{
overflow: auto;
height: 95%;
border-style: solid;
border-width: 1px;
border-color: black;
padding-left: 10px;
line-height : 1;
}
</STYLE>
#menu
{
float: left;
margin-right: 10px;
margin-top: 10px;
}
#content
{
overflow: auto;
height: 95%;
border-style: solid;
border-width: 1px;
border-color: black;
padding-left: 10px;
line-height : 1;
}
</STYLE>