Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17987

More <div> ids and classes for flexible CSS layout

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      I come from a Drupal background, and Drupal makes extensive use of <div> ids and classes. Here's an example from a block in the right sidebar of our school's website (http://www.grundschule-heidhorst.de):

      <div id="sidebar-right-inner">
      <div id="block-block-5" class="block block-block region-odd even region-count-1 count-4">
      <div class="block-inner"> ...

      Drupal's Zen theme does a great job of providing a very flexible and purely CSS based theme (http://drupal.org/project/zen).

      Following the discussion in http://moodle.org/mod/forum/discuss.php?d=113885 I would suggest such an enhancement as a general design concept for Moodle. That would make changing the layout of your Moodle site much easier, just using CSS without the need of modifying HTML or even PHP code.

      Kind regards,
      Frank

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: