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!
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

Stu Cowley
26,287 PointsDumb Question About <table>
Hey guys
So I'm working on a site for a sports league and I'm up to the part where I need to implement the Standings.
I just wanted to know if using a table would be a viable method of doing this or if it should be done using CSS.
Cheers
Stu :)
2 Answers

Jason Anello
Courses Plus Student 94,610 PointsHow about both?
As far as structure is concerned, an html table is a good choice because you have tabular data. Then you would use css to style that table.
If you're familiar with using developer tools you can look at what other sites are doing for standings.
For instance, this page:
http://www.cbssports.com/mlb/standings
does use html tables for it's standings.

James Barnett
39,199 PointsTo learn about styling your table check out
http://tympanus.net/codrops/2010/05/03/pimp-your-tables-with-css3/

Jason Anello
Courses Plus Student 94,610 PointsThanks! This looks like a good link.
Stu Cowley
26,287 PointsStu Cowley
26,287 PointsHey Jason,
Thanks for that, just wanted to double check as I never use HTML tables, and the MLB standings is exactly what I'm after too so thanks many thanks for that one.
I will study how they have developed it and go from there.
Thanks
Stu :)
James Barnett
39,199 PointsJames Barnett
39,199 Points+1 for "an html table is a good choice because you have tabular data"
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsStu, you're welcome.
James, thanks!