Prev | Current Page 388 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

Various techniques
later enabled designers to get around this limitation, creating in-page scrollable content
areas. First came frames, and later came CSS-driven scrolling areas. Both enable you to
create in-page scrollable content, but although such things are explored in the final part of
this chapter, scrollable areas should be used with care??”if you need a user to see something
right away, don??™t hide it ???under the fold,??? and remember that if you create a centered,
fixed-view window, test it out using many different screen resolutions to ensure it
looks and works OK for all of your users.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
306
Working with frames
Elsewhere in this book, I mostly refer to web pages that comprise single documents, with
external files adding presentation information (CSS) or functionality (JavaScript or CSS).
Frames are different, requiring an HTML document called a frameset, which acts as a container
for a number of frames. The frameset has no actual content of its own??”it??™s just a
container used to order and place the frames. The frames are standard HTML documents.
Therefore, you use a frameset to carve up the available space in a browser window and
display several HTML documents simultaneously, each of which has the ability to scroll
independently.
Today, frames are considered a relic, disrupting the logical structure of your site because
of the way they??™re created. Each frame is a separate HTML document, and everything is
stitched together with yet another HTML document??”the frameset.


Pages:
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400