HTML and CSS Reference
In-Depth Information
This actually works fairly well, and it is one of the better uses of frames. Let's see how we might replace it with
CSS. The key is to set up three
div
s, one for each frame. The content of each
div
is taken from the body of
each framed document. These
div
s are then positioned using the same CSS properties described in the
preceding section. However, this time we'll add one more piece. We'll make them individually scrollable using
the
overflow
property.
Listing 5.6
shows the original document.
Listing 5.6. The Framed Page
Search WWH ::
Custom Search