Join James Williamson for an in-depth discussion in this video Solution: Styling tables, part of HTML: Building Tables.
(gentle music)…- Welcome back!…I hope you had fun doing the challenge.…Let's go through our challenge steps…for chapter two and take a look…at the finished styles…and you can compare your solution to mine.…So, I've opened up the styles.css file…that's found in the finished files directory in 02_06…and again, we're just gonna, I'll just go through the steps…and talk a little bit about the styling…that I did to achieve this.…Now, the styles in the challenge…really mirrored the styles used in the exercise files…and I did that on purpose because I realized…that a lot of folks that are doing this challenge…might be new to CSS so I wanted to keep things…really consistent to sort of reinforce…what you've already learned.…
All right, so I'm gonna go down to my table styles…around line 89 and let's talk about applying borders.…So, the first thing that I had to do…on my table was set border-collapse to collapse…and if you didn't remember to do that…you're probably seeing some default border cell spacing.…So, you want to make sure…
- Adding content to tables
- Defining table headers
- Styling borders
- Alternating table row colors
- Grouping table content
- Defining columns and headers
- Making table data accessible
Skill Level Beginner
Creating a Responsive HTML Emailwith Chris Converse1h 43m Beginner
Creating a Responsive Presentation in HTML5with Justin Putney1h 24m Intermediate
1. Table Basics
2. Styling Tables
3. Adding Meaning
Additional resources3m 47s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.