I just can't understand: why does everyone hate tables so much? I understand if we are talking about a layout with kilotons of cells, with porridge from rowspan / colspan attributes. When the result is a layout of solid tables containing tables, tables, ..., tables. This is the moveton. And to use the table where it is really necessary is not a crime, in my opinion. Especially when the language turns: "it will be three columns." Column! So why not use it? Why resort to some kind of hack in the form of a flow to the right when you need to make 2 columns? What, a lot of markup? Nothing much! Browsers do not care for a long time: positioning them with 1 element or 4. 100M network card has also been spat for a long time, in contrast to the 56K modem. And the editors with syntax highlighting are there - you won't get lost in the markup.
Oh well, we now have a good opportunity for "semantic" markup. Although it was always like this, it was just for sophisticated web designers that there were added more elements - for normal structuring.
But we also have a CSS miracle, right? You can also not write <table>
, while forcing the layout to behave like a table.
http://jsfiddle.net/qJdy4/1/
I dare, nevertheless, to assume that the author himself used the “table” where it really does not belong. I thought that we just need a page with a list of songs [cover, title, player] in the style of tiles on the grid. Then, perhaps, this workpiece will do.