• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Layout > Switching Layouts on the Fly

Switching Layouts on the Fly

One of the greatest strengths of CSS is its versatility in presenting the same content using different layouts, being able to simply swap a style sheet to create a completely different look. This control over the layout need not merely be limited to the creator of the Web site, but can equally be shared with visitors, giving them the freedom to choose between multiple style sheets or even to mix and match styles from a variety of style sheets.

In this example, I’ll show you how to allow the visitor to choose among three completely different styles, all applied to the same content.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint