Awesome Tables With Very Little Markup
Feb
11
Creating nice looking tables in HTML can be quite annoying. You have to give the table an ID or class, then give each row a class or give each column a class. Then you have to add some crazy code to make each row alternate color and another set of crazy javascript to make the rows highlight when you mouse over them. Well... That is no longer the case. Below is an example of how to get nice looking HTML tables with very little code or markup.
Use Tables For Tables Only!
First things first, if your page is using tables for layout,
then stop reading. This solution is for people who only use
tables for their intended purpose. So, make sure you are
using tables correctly before continuing on.
The Table Markup
The actual XHTML code for the tables themselves is extremely
simple, and because of this is, it is nice and legible.
Read the rest of this entry
»

- Tagged as: CSS, howto, javascript, tables, tutorial, XHTML
- Categorized under: CSS, Design, Tutorials, Web Development
- Comments: No Comments »







