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

jumpmenu should use CSS instead of align="center"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: General
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      On the course homepage, the following code is used to center the jump menu:

      <div align="center" class="jumpmenu">

      This is invalid XHTML. To fix, replace the above code with:

      <div style="text-align: center;" class="jumpmenu">

      Or better yet, remove the align attribute and add the equivalent CSS declaration to the jumpmenu class.

      The fix need to be made on line 329 of: /course/format/lams/format.php

        Attachments

          Activity

            People

            Assignee:
            dongsheng Dongsheng Cai
            Reporter:
            lkmorlan Liam Morland
            Tester:
            Petr Skoda Petr Skoda
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/09