O'Reilly logo

Everything You Know about CSS is Wrong! by Rachel Andrew, Kevin Yank

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 3CSS Table Solutions

As we’ve seen in the previous chapter, using table display properties offers a whole new bag of tricks to the designer. This approach can simplify CSS layout and allow exciting new opportunities. If questions are now springing into your mind, this chapter will help to provide some answers and help you on your way to understanding the potential of CSS table layouts.

Can CSS tables be used to create flexible layouts?

The examples we’ve seen so far have been concerned with fixed-width layouts. We can also use CSS tables to create the flexible layouts—columns that resize to the width of the user’s screen—often referred to as liquid layouts.

If we set the containing div to 100%, the table will take up the whole width of ...

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