On 14 Apr, 15:48, richard <i.do.... (AT) ca (DOT) re> wrote:
Quote:
On this part of my project, I feel that divisions are more
appropriate. |
You don't have any data on this page yet, just a single header (row?).
Potentially, this data (when you add it) is about as tabular as it
gets - if you want to work with it as a long list of recordings, each
of which has an identical set of a few properties. Now that's a good
candidate for <table>
OTOH, your intention might be (still thinking about the "data" that
the page contains) that it's more of a list of short encyclopedia-
style entries for each recording, where the property model of each one
is more complex, has entries that are individually longer, and that
varies more in conceptual structure between rows. In that case, a
sequence of nested sequences of <div> (inside a wrapper <div> for each
recording) is indeed more appropriate.
Then there's the practical limitation of what's actually
implementable. HTML is a a language for marking up pages, it's not
intended to be the one true data representation language. If one page
view of the data is more or less "table like" than another page
viewing the same data, then you can quite reasonably switch between
<div> or <table> markup. You should code the HTML to represent a "pure
data" view of a page and let the CSS worry about the presentation, but
this doesn't mean that different conceptual views onto the same
_underlying_ data can't be based on a different data model that's only
relevant to one page's use of it.