Sunday, January 4, 2015
Don’t Be Afraid To Use Tables For Quick Tabular Data
Advertise
Tables get more than their fair share of bashing by the web community. Before CSS really took hold, tables were required for web layout despite their obvious shortcomings for such a task. Now that the days of table-based layouts have faded, any lingering uses of tables is shot down and ridiculed by the web community.
But there is no reason to be a table-hater! Tables have one, distinct, incredibly purposeful use. Can you guess it?
Tables are for tabular data
Do you have a a table of information to display? Then a table is how you should display it. Using some kind of CSS positioning thing to create a table is just as egregious and ill-suited as using tables for web layout.
Candidate Spots Spending Candidate Spots Spending BIDEN 3165 $1,800,000 GIULIANI 6856 $5,6000,000 CLINTON 25,562 18,7000,000 HUCKABEE 5831 2,600,000 DODD 4028 1,800,000 HUNTER 114 68,000 EDWARDS 14,732 8,300,000 MCCAIN 10,830 8,000,000 KUCINICH 27 7,000 PAUL 5215 2,800,000 OBAMA 29,866 22,700,000 ROMNEY 34,821 29,000,000 RICHARDSON 5936 4,200,000 THOMPSON 4032 2,200,000 TANCREDO 99 160,000 DEM TOTAL 83,320 57,000,000 GOP TOTAL 67,798 50,000,000Even completely un-styled , like this table, it still gets the job done.
Table Header 1 Table Header 2 Table Header 3 Data Data Data Data Data Data
Subscribe to:
Post Comments (Atom)
No comments: