HomeНаука и техникаRelated VideosMore From: MakeWebDesignEasy

CSS Table tutorial: how to style an HTML table with CSS

76 ratings | 23052 views
This video will show you in a brief example how you can quickly style an HTML table using CSS. It will show you how to use: - the table, td and th tags - the border property - the border-collapse property - the padding property - the background-color property - the CSS3 nth-child property to achieve a zebra effect This tutorial is adressed to beginner/intermediate CSS users. The music in the background is Urbana-Metronica (wooh-yeah mix) by spinningmerkaba.
Html code for embedding videos on your blog
Text Comments (17)
Sebeand (1 year ago)
Great video :) You helped me.
Greg Gregory (1 year ago)
Great tutorial!
spiralings (2 years ago)
this is a great tutorial, thanks for uploading
TiMalice2009 (2 years ago)
Excellent
M Maneesh (2 years ago)
Very well made... Enjoyed watching. thank you.
tom d (4 years ago)
Great. Wondered how the alternative colour thing works. ..
jayr padua (5 years ago)
where is jollibee in video? i did'nt see him!
jayr padua (5 years ago)
i love monster hunter yeh rock!!!
MakeWebDesignEasy (5 years ago)
Well, you could probably use some div elements for example and style them in CSS so that they look like a table. However, for a data table such as the one I am talking about, the html table, tr and td tags are definitely the way to go.
MrBafner (5 years ago)
Can you still create a table without using the <table <th <tr <td tags using CSS?
ImmortalPhoenix (5 years ago)
great video subbed.
ImmortalPhoenix (5 years ago)
absolutely amazing .......helped a lot .......even better than my teacher.
zuesqwert123 (5 years ago)
thx a lot..
MakeWebDesignEasy (5 years ago)
You can set the table to margin-left: auto and margin-right: auto (just like for any other block element)
zuesqwert123 (5 years ago)
can i ask a question? how to center a table in css?
kumar Quiroz (1 year ago)
put this in your header:table { display: block; margin: 0 auto;}
Fico Gutierrez (5 years ago)
thanks, was useful.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.