Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Column span

Just curious... I thought that column span had been in use for a long time. Maybe I'm thinking of tables?

1 Answer

Hi Allison,

Column span has been around for a long time certainly in tables, such as colspan attribute on TD elements, as in the following example:

<table>
  <tr>
    <td>Row 1 Col 1</td>
    <td>Row 1 Col 2</td>
  </tr>
  <tr>
    <td colspan="2">Row 2 spanning 2 columns</td>
  </tr>
</table>

Although the above is a slightly different use to the column-span property in CSS3. Is this what you meant? :)

Yes, I was just sure I'd seen this before. I was a little confused as to why it was showing up in the flexbox tutorial.

I guess they have to give it a different name.