Tableless design for 2.0 modules & plugins?

Tableless design for 2.0 modules & plugins?

Joseph Rézeau發表於
Number of replies: 1
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片

Following general trend, moodle 2 is going tableless. In current 2.0 I notice that there still is a sprinking of tables in core modules.

Anyway, are there any general or moodle-specific instructions, help, workarounds to switch from tables to tableless layouts. I would like to go tableless in the plugins I maintain, if at all possible.

And is there a Moodle design statement somewhere explaining where using tables is still accepted or even better than tableless design? As per Wikipedia here.

Joseph

PS.-And what about the use of tables in the Moodle Docs Wiki?

評比平均分數: -
In reply to Joseph Rézeau

Re: Tableless design for 2.0 modules & plugins?

Oleg Sychev發表於

Joseph, I vaguely remember there was some guides for tablesless layout in Moodle Docs under "Accessibility" sections (this is what all these layout for).

I may be wrong, but I guess that "tableless layout" means you don't use tables for HTML layout i.e. placing around stuff that isn't actually a table, using DIV tags instead. You still may and should use tables when you need a real table on the page (there are special class for moodle table for that).