O'Reilly logo

YUI 2.8 Learning the Library by Dan Wellman, Daniel Barreiro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Content Containers and Tabs

Content can live in all kinds of containers, usually <div> elements, <p> elements, and the like. When using the YUI, you have a whole range of new containers in which to keep your content, each of which is designed to meet the needs of a specific implementation. In this chapter we'll be looking at all of them in detail.

A tabbed interface allows you to fit more content together on the same page without cluttering it up, distributing related items across different tabs. Doing this manually can lead to design nightmares, so the TabView control from the YUI Library can really help you to cut corners code-wise without sacrificing presentational style or functionality.

While the Container and TabView controls are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required