|
|
(11 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| == Quiz Questions and Answers ==
| | {{Moved_to_dev_docs}} |
| | |
| === Introduction ===
| |
| In the quiz module questions and answers are right aligned. This layout is hard coded in the php files.
| |
| | |
| === Task ===
| |
| Display the questions and answers left aligned.
| |
| | |
| === Solution ===
| |
| A) Change the php files as proposed by Harry Smith in the Moodle forum in the discussion "[[http://moodle.org/mod/forum/discuss.php?d=30573#150195| Changing Quiz Appearance]]"
| |
| | |
| or
| |
| | |
| B) Add the following CSS to the the CSS file "styles_layout.css" into the section " *** Modules:Quizz"
| |
| | |
| <pre>
| |
| | |
| .mod-quiz .generalbox .generalboxcontent {
| |
| text-align:left !important
| |
| }
| |
| .mod-quiz .generalboxcontent table[align=right],
| |
| .mod-quiz .generalboxcontent p[align=right] {
| |
| float:left
| |
| } | |
| * html .mod-quiz .generalboxcontent table,
| |
| * html .mod-quiz .generalboxcontent p {
| |
| float:left
| |
| } | |
| | |
| </pre>
| |
Latest revision as of 01:38, 23 June 2011